/* pridi-300 - latin_thai */
@font-face {
  font-display: swap; /* This ensures text is visible while font loads */
  font-family: 'Pridi';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/pridi-v15-latin_thai-300.woff2') format('woff2');
}
/* pridi-400 - latin_thai */
@font-face {
  font-display: swap;
  font-family: 'Pridi';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/pridi-v15-latin_thai-400.woff2') format('woff2');
}
/* pridi-500 - latin_thai */
@font-face {
  font-display: swap;
  font-family: 'Pridi';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/pridi-v15-latin_thai-500.woff2') format('woff2');
}
/* pridi-700 - latin_thai */
@font-face {
  font-display: swap;
  font-family: 'Pridi';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/pridi-v15-latin_thai-700.woff2') format('woff2');
}

/* --- Global Styles & Fonts --- */
:root {
    --primary-color: #6a5acd; /* Modern purple */
    --secondary-color: #f0e6ff;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --white-color: #fff;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pridi', sans-serif;
    line-height: 1.7;
    background-color: var(--white-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 500;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- Header & Navigation --- */
header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-family: 'Pridi', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #5849b0;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #555;
    max-width: 500px;
    margin: 1rem 0 2rem 0;
}

.cta-button-main {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Pridi', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: var(--shadow);
}

.cta-button-main:hover {
    background-color: #5849b0;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-card-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
    transition: transform 0.5s ease;
}

.tarot-card-img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Main Content Sections */
.content-section {
    padding: 80px 0;
}

#intro p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

#tarot-special p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

#three-card-spread p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

#question-guide p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
footer {
    background: var(--light-gray);
    color: #777;
    padding: 2rem 0;
    margin-top: 40px;
}

/* --- Animations --- */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .tarot-card-img {
        max-height: 400px;
        margin-top: 2rem;
        transform: rotate(0deg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Styles for Header Logo (NEW & UPDATED) --- */
.brand-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    /* Add flexbox to align logo and text */
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and text */
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;   /* Prevents image from being distorted */
    background-color: var(--secondary-color); /* Fallback color if image fails */
}


/* --- Styles for Footer Links (NEW & UPDATED) --- */
.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* Allows links to wrap on small screens */
}

.footer-links a {
    color: #666;
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Update original footer p tag to be a class for better targeting */
footer {
    background: var(--white-color);
    color: #888; /* Slightly lighter for copyright */
    padding: 2rem 0;
    margin-top: 40px;
}
.copyright-text {
	color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* --- Global Style Addition for Gray Background --- */
.gray-bg {
    background-color: var(--light-gray);
}

/* --- Comparison Section --- */
#comparison {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.comparison-column {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

/* Make the border-top of the second column a different color for contrast */
.comparison-column:nth-child(2) {
    border-top-color: #f0b90b; /* A modern gold color */
}

.comparison-column h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.comparison-column h3 .icon {
    font-size: 1.8rem;
}

.comparison-column ul {
    list-style: none;
    padding-left: 0;
}

.comparison-column li {
    font-weight: 300;
    margin-bottom: 1.2rem;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.comparison-column li::before {
    font-family: 'Arial'; /* Use a common font for symbols */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Custom bullet points for each column */
.comparison-column:nth-child(1) li::before {
    content: '✓';
    color: #28a745; /* Green checkmark for AI benefits */
}

.comparison-column:nth-child(2) li::before {
    content: '•';
    color: #f0b90b; /* Gold dot for Human characteristics */
    top: -2px; /* Adjust position for better alignment */
    font-size: 1.5em;
}

/* --- Responsive for Comparison Section --- */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr; /* Stack columns vertically on mobile */
        gap: 2rem;
    }
}

/* --- How It Works Section --- */
#how-it-works {
    padding: 80px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.process-step {
    padding: 1.5rem;
    position: relative; /* For the connecting line */
}

/* The Numbered Circle */
.step-number-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(106, 90, 205, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-number-circle {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.process-step h3 {
    font-size: 1.4rem;
    color: var(--text-color-dark); /* Using a slightly darker text for titles */
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-color);
    line-height: 1.7;
}

/* The Connecting Line (Desktop) */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px; /* Vertically center with the circle */
    left: calc(50% + 45px); /* Start from right of the circle */
    width: calc(100% - 80px); /* Span across the gap */
    height: 2px;
    background: linear-gradient(to right, rgba(106, 90, 205, 0.3), rgba(106, 90, 205, 0.05));
    border-radius: 2px;
    z-index: -1;
}

/* --- Responsive for How It Works Section --- */
@media (max-width: 992px) {
    .process-step:not(:last-child)::after {
        width: calc(100% - 90px);
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem; /* Increase gap for vertical stacking */
    }
    
    /* Change connecting line to be vertical */
    .process-step:not(:last-child)::after {
        top: 70px; /* Start below the circle */
        left: 50%;
        transform: translateX(-50%);
        width: 2px; /* Line width */
        height: 3rem; /* Line length (equals the gap) */
        background: linear-gradient(to bottom, rgba(106, 90, 205, 0.3), rgba(106, 90, 205, 0.05));
    }
}

/* CSS to hide the default 1., 2., 3. markers on the ordered list */
.process-timeline {
    list-style-type: none; /* This is the key line */
    padding-left: 0; /* Often needed to reset default list padding */
    margin-left: 0;
}
/* TARGETING the list items to disable any numbered content */
.process-timeline li {
    /* Set the list item display to ensure full control */
    display: block; 
}
/* This is the most likely culprit if counters are used for the 1. 2. 3. */
.process-timeline li::before {
    content: none !important; 
}
/* If the numbers are being generated on the OL itself */
.process-timeline::before {
    content: none !important;
}


/* --- New Hero Section --- */
#hero-section {
    background-color: var(--light-gray); /* Matches your theme */
    padding: 80px 0; /* Top/Bottom spacing */
    min-height: 80vh; /* Ensures it takes up good screen space */
    display: flex;
    align-items: center; /* Vertically centers content */
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem; /* Space between text and image */
}

/* Text Side */
.hero-content {
    flex: 1; /* Takes up 50% space */
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Adds your brand color to headline */
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Image Side */
.hero-media {
    flex: 1; /* Takes up remaining 50% space */
    display: flex;
    justify-content: flex-end; /* Aligns image to the right */
}

.hero-img-rounded {
    width: 100%;
    max-width: 450px; /* Limits image size on huge screens */
    height: auto; /* Maintains aspect ratio (square or rectangle) */
    border-radius: 24px; /* The Round Corners */
    box-shadow: var(--shadow); /* Uses your global shadow variable */
    object-fit: cover; /* Ensures image fills shape nicely */
    transition: transform 0.3s ease;
}

.hero-img-rounded:hover {
    transform: translateY(-5px); /* Subtle float effect on hover */
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 900px) {
    #hero-section {
        padding: 60px 0;
        text-align: center; /* Center text on mobile */
    }

    .hero-grid {
        flex-direction: column-reverse; /* Puts Image TOP, Text BOTTOM */
        /* If you prefer Text on Top, change to: flex-direction: column; */
        gap: 2rem;
    }

    .hero-media {
        justify-content: center; /* Center image on mobile */
        width: 100%;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}