/* Casino Training Website Styles - Light Theme with Balanced Spacing */
:root {
    --primary-blue: #4285F4;      /* Main blue accent color */
    --light-blue: #E8F0FE;        /* Light blue for backgrounds */
    --medium-blue: #8AB4F8;       /* Medium blue for secondary elements */
    --dark-blue: #1A73E8;         /* Dark blue for hover states */
    --text-dark: #202124;         /* Primary text color */
    --text-medium: #5F6368;       /* Secondary text color */
    --background-light: #FFFFFF;  /* Main background color */
    --background-off-white: #F8F9FA; /* Secondary background color */
    --accent-blue: #4285F4;       /* For buttons and important elements */
    --green: #34A853;             /* Green for success and positive elements */
}

html {
    scroll-padding-top: 5rem; /* Add padding for fixed header when scrolling to anchor links */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, input, textarea, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2; /* Add tighter line height for all headings */
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

h2 {
    font-size: 2.4rem;
    margin-top: 0;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 80px;
    background-color: var(--primary-blue);
}

p, ul {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-medium);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 3rem 0;
    transition: all 0.5s ease;
}

/* Add specific section spacing */
section + section {
    padding-top: 2rem; /* Less padding between consecutive sections */
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--background-light);
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 0.25rem;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2);
}

/* Header Styles */
header {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--background-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    margin-top: 0;
    padding-top: 5rem; /* Reduced from 6rem */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23E8F0FE'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.03'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem; /* Reduced from 2rem */
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
}

.hero-text {
    padding-right: 1.5rem; /* Reduced from 2rem */
}

.hero h1 {
    color: var(--text-dark);
    font-size: 3.5rem;
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.25rem; /* Reduced from 1.5rem */
    color: var(--text-medium);
}









/* Executive Note */
.executive-note {
    background-color: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
    padding: 0.75rem 1rem; /* Reduced padding */
    margin: 1.25rem 0; /* Reduced from 1.5rem */
    border-radius: 4px;
}

.executive-note p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0; /* Remove bottom margin from last child */
}

.btn-gold {
    background-color: var(--primary-blue);
    color: var(--background-light);
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    margin-top: 0.5rem; /* Reduced from 0.75rem */
}

.btn-gold:hover {
    background-color: var(--dark-blue);
}

/* Solution Section */
.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.solution-content p {
    font-size: 1.2rem;
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    line-height: 1.6; /* Reduced from 1.7 */
}

.solution-content .core-message {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.host-gains {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem; /* Reduced from 1.5rem */
    margin: 0.75rem 0; /* Reduced from 1rem */
}

.gain-item {
    background: var(--light-blue);
    padding: 1.25rem; /* Reduced from 1.5rem */
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.gain-item:hover {
    transform: translateY(-3px);
}

.gain-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    color: var(--primary-blue);
}

.gain-item p {
    font-size: 1rem;
    line-height: 1.5; /* Reduced from 1.6 */
    margin-bottom: 0;
}

/* Fix for the result statement area */
.result-statement {
    background: white;
    padding: 1rem 1.5rem; /* Reduced vertical padding */
    border-radius: 15px;
    border-left: 5px solid var(--green);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1rem 0; /* Consistent margins */
    line-height: 1.4; /* Tighter line height */
    text-align: left; /* Left-align the text */
}

/* AI Extension Section */
#ai-extension {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#ai-extension h2 {
    margin-bottom: 1rem;
    line-height: 1.0; /* Much tighter line height for better spacing between heading lines */
}

#ai-extension p {
    max-width: 900px;
    margin: 0 auto;
}

/* Competition Section */
#competition {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#competition h2 {
    margin-bottom: 1rem;
}

#competition p {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background: var(--text-dark);
    color: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.contact h2 {
    color: white;
    margin-bottom: 1.25rem; /* Reduced from 1.5rem */
}

.contact h2::after {
    background-color: white;
}

.conversation-starters {
    max-width: 700px;
    margin: 0 auto 1.25rem; /* Reduced from 1.5rem */
    text-align: center;
}

.starter-question {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.875rem; /* Reduced from 1rem */
    border-radius: 10px;
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-blue);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem; /* Reduced from 1.5rem */
    margin-top: 1.25rem; /* Reduced from 1.5rem */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.875rem; /* Reduced from 1rem */
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced from 1.2rem */
}

.form-row {
    display: flex;
    gap: 1.25rem; /* Reduced from 1.5rem */
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    color: white;
    margin-bottom: 0.375rem; /* Reduced from 0.5rem */
    font-weight: 500;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem; /* Reduced from 0.8rem */
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-container {
    margin-top: 0.375rem; /* Reduced from 0.5rem */
}

.captcha-challenge {
    display: flex;
    align-items: center;
    gap: 0.375rem; /* Reduced from 0.5rem */
    font-size: 1.1rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem; /* Reduced from 0.8rem */
    border-radius: 4px;
    max-width: 200px;
}

.captcha-challenge span {
    font-weight: 600;
    color: var(--primary-blue);
}

.captcha-challenge input {
    width: 50px;
    text-align: center;
    font-weight: 600;
}

.form-submit {
    margin-top: 0.875rem; /* Reduced from 1rem */
    text-align: center;
}

.form-confirmation {
    background: rgba(52, 168, 83, 0.1);
    border-left: 4px solid var(--green);
    padding: 1.25rem; /* Reduced from 1.5rem */
    border-radius: 8px;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    animation: fadeIn 0.5s ease-in-out;
}

.form-confirmation p {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: var(--background-off-white);
    color: var(--text-medium);
    padding: 2.5rem 0; /* Reduced from 3rem */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Reduced from 2rem */
}

.footer-column h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1.25rem; /* Reduced from 1.5rem */
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem; /* Reduced from 0.8rem */
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.copyright {
    text-align: center;
    margin-top: 2.5rem; /* Reduced from 3rem */
    padding-top: 1.25rem; /* Reduced from 1.5rem */
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Responsive */
@media (max-width: 768px) {
    /* Contact form responsive styles */
    .form-row {
        flex-direction: column;
        gap: 1rem; /* Reduced from 1.2rem */
    }
    
    .contact-form-container {
        padding: 1.25rem; /* Reduced from 1.5rem */
    }
    
    .captcha-challenge {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        padding: 5.5rem 0 2.5rem; /* Reduced from 6rem 0 3rem */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-illustration {
        margin: 0 auto;
        order: -1;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem; /* Reduced from 2.8rem */
    }
    
    .nav-links {
        display: none;
    }
    
    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Responsive styles for solution and contact sections */
    .host-gains {
        grid-template-columns: 1fr;
    }
    
    .solution-content {
        padding: 0 0.75rem; /* Reduced from 1rem */
    }
    
    .result-statement {
        padding: 1.25rem; /* Reduced from 1.5rem */
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .conversation-starters {
        padding: 0 0.75rem; /* Reduced from 1rem */
    }
    
    .starter-question {
        padding: 1rem; /* Reduced from 1.2rem */
        font-size: 1rem;
    }
    
    /* Increase density on mobile */
    section {
        padding: 2.5rem 0; /* Reduced for mobile */
    }
    
    section + section {
        padding-top: 1.5rem; /* Even less space between sections on mobile */
    }
}