/* FONT IMPORTS AND DEFINITIONS */
body {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    transition-property: color, background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
.font-title {
    font-family: 'Unbounded', cursive;
}
:root {
    --text-primary-light: #1f2937; /* gray-800 */
    --text-secondary-light: #4b5563; /* gray-600 */
    --bg-primary-light: #ffffff;
    --bg-secondary-light: #f3f4f6; /* gray-100 */
    --border-light: #e5e7eb; /* gray-200 */

    --text-primary-dark: #e2e8f0; /* slate-200 */
    --text-secondary-dark: #94a3b8; /* slate-400 */
    --bg-primary-dark: #020617; /* gray-950 */
    --bg-secondary-dark: rgba(15, 23, 42, 0.5); /* slate-900/50 */
    --border-dark: #1e293b; /* slate-800 */
    
    --violet-primary: #7c3aed; /* violet-600 */
    --violet-hover: #6d28d9; /* violet-700 */
    --violet-light: #a78bfa;
}
body {
    background-color: var(--bg-primary-light);
    color: var(--text-primary-light);
}
.dark body {
    background-color: var(--bg-primary-dark);
    color: var(--text-primary-dark);
}

/* GENERAL & LAYOUT */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.page-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .page-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}
.grid-2-col {
    display: grid;
    gap: 4rem;
}
@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }

/* HEADER */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.8);
}
.dark .site-header {
    background-color: rgba(0, 0, 0, 0.5);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.logo-link {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 3.5rem;
    width: auto;
}
@media (min-width: 768px) {
    .logo-img {
        height: 4rem;
    }
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* BUTTONS */
.btn {
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out;
    font-weight: 700;
}
.btn-primary {
    background-color: var(--violet-primary);
    color: white;
    font-family: 'Unbounded', cursive;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
}
.btn-primary:hover { background-color: var(--violet-hover); }

.btn-secondary {
    background-color: #4b5563; /* gray-600 */
    color: white;
    font-family: 'Unbounded', cursive;
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding: 1rem 2rem;
}
.dark .btn-secondary { background-color: #4b5563; }
.btn-secondary:hover { background-color: #6b7280; }

.btn-hero {
    font-family: 'Unbounded', cursive;
    text-transform: uppercase;
    background-color: #111827; /* gray-900 */
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.dark .btn-hero {
    background-color: white;
    color: black;
}
.btn-hero:hover { background-color: #374151; }
.dark .btn-hero:hover { background-color: #e5e7eb; }

.btn-icon {
    padding: 0.5rem;
    color: #6b7280;
}
.dark .btn-icon { color: #9ca3af; }
.btn-icon:hover { background-color: #e5e7eb; }
.dark .btn-icon:hover { background-color: #1f2937; }

.btn-submit {
    width: 100%;
    background-color: var(--violet-primary);
    color: white;
    font-weight: 700;
    padding: 1rem 0;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', cursive;
    text-transform: uppercase;
}
.btn-submit:hover { background-color: var(--violet-hover); }
.cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
@media (min-width: 768px) {
    .cta-buttons { flex-direction: row; }
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}
.dark .hero-bg-img {
    opacity: 0.2;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, var(--bg-primary-light), rgba(255, 255, 255, 0.9), transparent);
}
.dark .hero-bg-gradient {
    background-image: linear-gradient(to top, var(--bg-primary-dark), rgba(0, 0, 0, 0.9), transparent);
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.hero-title {
    font-family: 'Unbounded', cursive;
    font-size: 2.5rem; /* Adjusted for smaller screens */
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1rem;
}
.dark .hero-title { color: white; }
.hero-gradient-text {
    background: linear-gradient(to right, var(--violet-light), #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--text-secondary-light);
}
.dark .hero-subtitle { color: var(--text-secondary-dark); }
@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
}

/* GENERAL SECTION STYLES */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title {
    font-family: 'Unbounded', cursive;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.dark .section-title { color: white; }
.section-title-sm {
    font-family: 'Unbounded', cursive;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.dark .section-title-sm { color: white; }
.section-subtitle {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--text-secondary-light);
}
.dark .section-subtitle { color: var(--text-secondary-dark); }
@media (min-width: 768px) {
    .section-title { font-size: 3rem; }
}

/* CARDS AND CONTAINERS */
.content-card {
    background-color: var(--bg-secondary-light);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
}
.dark .content-card {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
}
.content-card-img {
    border-radius: 0.5rem;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(167, 139, 250, 0.1), 0 4px 6px -2px rgba(167, 139, 250, 0.05);
}
.video-card {
    background-color: #e5e7eb;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}
.dark .video-card {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
}
@media (min-width: 768px) { .video-card { padding: 1rem; } }
.video-wrapper {
    position: relative;
    width: 100%;
}
.aspect-square { padding-top: 100%; }
.aspect-16-9 { padding-top: 56.25%; }
.aspect-4-3 { padding-top: 75%; }
.video-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

/* HOW IT WORKS SECTION */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.step-icon-wrapper {
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 9999px;
    background-color: #ede9fe;
    color: var(--violet-primary);
}
.dark .step-icon-wrapper {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--violet-light);
}
.step-title {
    font-family: 'Unbounded', cursive;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.dark .step-title { color: white; }
.step-description {
    color: var(--text-secondary-light);
}
.dark .step-description { color: var(--text-secondary-dark); }


/* PROBLEM/SOLUTION SECTION */
.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) {
    .solution-grid {
        flex-direction: row;
        align-items: flex-start;
    }
}
.solution-img-main { width: 100%; }
.solution-img-side { width: 100%; }
@media (min-width: 768px) {
    .solution-img-main { width: 66.66%; }
    .solution-img-side { width: 33.33%; }
}
.solution-text-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .solution-text-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }
}
.solution-text-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--violet-primary);
}
.dark .solution-text-title { color: var(--violet-light); }
.solution-text-desc { color: var(--text-secondary-light); }
.dark .solution-text-desc { color: var(--text-secondary-dark); }

/* AI FEATURE SECTION */
.ai-card {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-secondary-light);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
}
.dark .ai-card {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
}
@media (min-width: 768px) { .ai-card { padding: 3rem; } }
.ai-form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .ai-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ai-result-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}
.dark .ai-result-box {
    background-color: rgba(30, 41, 59, 0.5);
    border-color: #334155;
}
.ai-result-text {
    color: #6b7280;
    text-align: center;
}
.dark .ai-result-text { color: var(--text-secondary-dark); }


/* TRACTION SECTION */
.traction-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 768px) {
    .traction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .traction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.traction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: span 2 / span 2;
}
@media (min-width: 1024px) { .traction-item { grid-column: span 1 / span 1; } }
.traction-stat {
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(to right, var(--violet-light), #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.traction-desc {
    margin-top: 0.5rem;
    color: var(--text-secondary-light);
}
.dark .traction-desc { color: var(--text-secondary-dark); }
.traction-link {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--violet-primary);
}
.dark .traction-link { color: var(--violet-light); }
.traction-link:hover { color: #5b21b6; }
.dark .traction-link:hover { color: #a78bfa; }
.traction-img {
    border-radius: 0.5rem;
    height: 12rem;
    width: auto;
    margin-bottom: 1rem;
}
.traction-desc-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}
.partner-logo {
    height: 3rem;
    width: auto;
    opacity: 0.7;
}

/* CTA SECTION */
.cta-box {
    position: relative;
    z-index: 10;
    text-align: center;
    background-color: #f3e8ff;
    border: 1px solid #e9d5ff;
    border-radius: 1rem;
    padding: 2rem;
}
.dark .cta-box {
    background-color: rgba(139, 92, 246, 0.1);
    border-color: #5b21b6;
}
@media (min-width: 768px) { .cta-box { padding: 4rem; } }

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.dark .site-footer { border-color: var(--border-dark); }
.site-footer p {
    text-align: center;
    color: #6b7280;
}
.dark .site-footer p { color: #4b5563; }

/* MODALS */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}
.modal-box {
    position: relative;
    background-color: var(--bg-primary-light);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
}
.dark .modal-box {
    background-color: #1e293b;
    border-color: #334155;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 1;
}
.dark .modal-close { color: #9ca3af; }
.modal-close:hover { color: #111827; }
.dark .modal-close:hover { color: white; }
.modal-title {
    font-family: 'Unbounded', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.dark .modal-title { color: white; }
.modal-subtitle {
    margin-bottom: 1.5rem;
    color: var(--text-secondary-light);
}
.dark .modal-subtitle { color: var(--text-secondary-dark); }

/* FORMS */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
    width: 100%;
    background-color: var(--bg-secondary-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}
.dark .form-input, .dark .form-textarea {
    background-color: #334155;
    border-color: #4b5563;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--violet-primary);
}
