
/*
    IQDOMINO WEBSITE REDESIGN
    VERSION: 9.0 ("THE CLARITY PASS")
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Oswald:wght@400;500&display=swap');

:root {
    --bg-color: #0A0A0A;
    --surface-color: #111111;
    --primary-text: #EAEAEA;
    --secondary-text: #A5A5A5; /* Increased contrast */
    --accent-color: #0044CC;
    --accent-glow: rgba(0, 68, 204, 0.2);
    --border-color: rgba(255, 255, 255, 0.08);
    --container-width: 1100px;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    .value-section {
        background-position: center 25%; /* Better focus for vertical screens */
        padding: 60px 20px;
    }

    .point,
    .path-card {
        padding: 24px;
    }

    .footer-content {
        padding: 60px 20px;
    }
}

/* --- BASE & RESET --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

.page-wrapper {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 35px;
    opacity: 0.9;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-color);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* Domino size */
    font-weight: 700;
    color: var(--primary-text);
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: baseline;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-color);
    font-size: 2rem; /* IQ size */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin-left: 0;
    transition: color var(--transition-speed);
    display: inline-flex;
    align-items: center;
}
.main-nav a:hover {
    color: var(--primary-text);
}

.main-nav .nav-cta {
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed);
}

.main-nav .nav-cta:hover {
    background-color: var(--primary-text);
    color: var(--bg-color);
    border-color: var(--primary-text);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 60%;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%); /* Simplified Gradient */
    z-index: 0;
    opacity: 0.5;
}

.hero-visual, .hero-content {
    position: relative;
    z-index: 1;
}

.hero-tagline {
    color: var(--secondary-text);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: -20px; /* Pulls text up */
    text-align: center;
}

.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px -2px rgba(0, 85, 255, 0.5), 0 0 50px -10px var(--accent-glow);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 10vw, 5rem);
    line-height: 1.1;
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-headline .highlight {
    color: var(--accent-color);
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--secondary-text);
    max-width: 500px;
    margin: 0 auto 32px auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* --- CTA BUTTONS --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease-in-out;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--primary-text);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.cta-button.secondary {
    background-color: rgb(0, 0, 0);
    color: var(--primary-text);
    border: 1px solid #444;
}

.cta-button.secondary:hover {
    background-color: rgba(0, 68, 204, 0.1);
    border-color: var(--accent-color);
}

/* --- INTERACTIVITY & HOVER (Desktop-Only) --- */
@media (min-width: 1024px) {
    .cta-button.primary:hover, .cta-button.primary:focus {
        transform: translateY(-3px);
    }
    .cta-button.secondary:hover, .cta-button.secondary:focus {
        transform: translateY(-3px);
    }
    .point:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
}

/* --- QUOTE SECTION --- */
.quote-section {
    position: relative;
    padding-top: 40px;
    margin: 60px auto;
    max-width: 600px;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: var(--border-color);
}

.quote-section blockquote {
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 300;
    color: var(--secondary-text);
    line-height: 1.7;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
}

/* --- VALUE SECTION --- */
.value-section {
    padding: 80px 0;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-intro p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.value-points {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.point {
    background-color: var(--surface-color);
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.point h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.point p {
    color: var(--secondary-text);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto;
}

/* --- PATHS SECTION --- */
.paths-section {
    padding: 80px 0;
}

.paths-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.path-card {
    background-color: var(--surface-color);
    padding: 32px;
    border: 1px solid #333;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 25px 0 rgba(30, 90, 255, 0.1);
}

.path-card.primary-path {
    border-color: #555;
}

.path-subtitle {
    display: inline-block;
    background-color: #3b3b3b;
    color: #ccc;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.path-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 500;
    color: var(--primary-text);
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-card h2 i {
    margin-right: 16px;
    color: var(--accent-color);
    font-size: 2rem;
    opacity: 0.7;
}

.path-card p {
    color: var(--secondary-text);
    max-width: 450px;
    margin: 0 auto 32px auto;
    line-height: 1.7;
}

.main-nav a i,
.cta-button i {
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- FOOTER --- */
.site-footer {
    padding: 100px 0 40px 0;
    background: #000;
    text-align: center;
}

.footer-content {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('Pictures/wider pic.png') no-repeat center center;
    background-size: cover;
    padding: 80px 40px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--primary-text);
}

.footer-content p {
    color: var(--primary-text);
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.footer-bottom {
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    width: 45px;
    height: auto;
    opacity: 0.6;
}

.social-links a {
    color: var(--secondary-text);
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-text);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: 20px;
    opacity: 0.6;
}


/* --- RESPONSIVE DESIGN --- */

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-image {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    /* Header adjustments for small screens */
    .site-header .container {
        padding: 0 15px;
    }
    .logo-text {
        font-size: 1.1rem; /* Smaller Domino */
    }
    .logo-text span {
        font-size: 1.5rem; /* Smaller IQ */
    }
    .main-nav {
        gap: 15px; /* Tighter nav links */
    }
    .main-nav a {
        font-size: 0.85rem;
    }

    /* Hero section spacing adjustments */
    .hero-section {
        padding-top: 90px; /* More space at the top for mobile */
        padding-bottom: 50px;
    }
    .hero-image {
        width: 120px; /* Smaller PFP */
        height: 120px;
        margin-bottom: 0; /* Remove bottom margin to pull tagline up */
    }
    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-top: 10px; /* Give it some space from the PFP */
        margin-bottom: 20px;
    }
    .hero-headline {
        font-size: 2.5rem; /* Smaller headline */
        margin-bottom: 10px;
    }
    .hero-subheadline {
        font-size: 0.95rem;
        padding: 0 10px; /* Prevent text from touching edges */
    }
    .hero-cta {
        margin-top: 30px; /* More space above buttons */
    }
    .cta-button {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 600px) {
    .paths-section .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Small Desktop / Large Tablet */
@media (min-width: 768px) {
    body {
        font-size: 17px;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .cta-button {
        width: auto;
    }

    .value-points {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .site-header {
        padding: 30px 0;
    }
    .main-nav a {
        margin-left: 32px;
    }
}

/* --- MOBILE HEADER FIX --- */
@media (max-width: 420px) {
    .main-nav {
        gap: 16px;
    }
    .logo {
        gap: 8px;
    }
    .logo-text {
        font-size: 18px;
    }
    .main-nav a {
        font-size: 14px;
    }
    .main-nav .nav-cta {
        padding: 7px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
}

