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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 30px 6vw;
    font-size: 14px;
    position: relative;
    font-weight: 300;
}

.logo {
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #aaaaaa;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #aaaaaa;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0 6vw;
    height: 90vh;
    /* Adjust if needed */
    display: flex;
}

.hero-text-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(90px, 18.5vw, 315px);
    font-weight: 400;
    letter-spacing: -3px;
    margin-top: 5vh;
    line-height: 0.9;
    margin-left: -0.06em;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 85%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 85%);
}

.hero-subtitle {
    font-size: clamp(24px, 3vw, 80px);
    font-weight: 400;
    margin-left: 0;
    margin-top: 15px;
}

.hero-stats-container {
    margin-top: auto;
    margin-bottom: 8vh;
    margin-left: 0;
}

.lets-talk {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 25px;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: left center;
}

.lets-talk:hover {
    opacity: 0.9;
    transform: scale(1.05);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.stats-row {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
}

.stat-desc {
    font-size: 16px;
    color: #bbb;
    margin-top: 6px;
    font-weight: 300;
}

.hero-image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    width: 50%;
    height: 100%;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    /* Create a fade out at the bottom to blend into the dark background */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    filter: drop-shadow(-30px 20px 40px rgba(0, 0, 0, 0.8));
}

.hero-name {
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
}

/* Ideology Section */
.ideology-section {
    padding: 10vh 6vw;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 400;
}

.ideology-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35vh;
    position: relative;
    z-index: 5;
}

.ideology-text-right {
    text-align: right;
    font-size: 24px;
    color: #eee;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 60%;
    margin-left: auto;
}

.ideology-bottom {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.ideology-text-left {
    font-size: 24px;
    color: #eee;
    font-weight: 300;
    line-height: 1.6;
    max-width: 45%;
}

.ribbon-wrapper {
    position: absolute;
    right: 0;
    top: 45%;
    width: 29.4vw;
    max-width: 504px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.ribbon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

/* Offer Section */
.offer-section {
    padding: 25vh 6vw 10vh 6vw;
    position: relative;
    z-index: 3;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.offer-item {
    position: relative;
    margin-top: 20px;
}

.offer-number {
    position: absolute;
    top: -24px;
    left: -20px;
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    background-color: #050505;
    padding: 5px 20px;
    z-index: 2;
    line-height: 1;
}

.offer-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    background: rgba(12, 12, 12, 0.90);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
    height: 100%;
}

.offer-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.offer-card-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 12px;
}

.offer-card-desc {
    font-size: 18px;
    color: #eee;
    font-weight: 300;
    line-height: 1.5;
}

/* CTA */
.cta-section {
    padding: 20vh 0;
    text-align: center;
}

.cta-text {
    font-size: 45px;
    font-weight: 400;
    line-height: 1.1;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-mask {
    overflow: hidden;
    display: inline-block;
    padding: 0 10px;
}

.cta-word {
    display: inline-block;
    transform: translateY(110%) rotate(4deg);
    opacity: 0.1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* Footer Section */
.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 5vh 6vw 10vh 6vw;
    position: relative;
    overflow: hidden;
}

.footer-left {
    width: 52.5%;
    position: relative;
    left: -5vw;
    bottom: -5vh;
}

.star-img {
    width: 100%;
    min-width: 600px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.footer-right {
    width: 60%;
    max-width: 500px;
}

.footer-heading {
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 25px;
}

.start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px 0;
    font-size: 18px;
    margin-bottom: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.start-btn:hover {
    background: #fff;
    color: #000;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
    color: #eee;
    font-weight: 300;
}

.footer-col a {
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

/* ========================================= */
/* Scroll Animations & Effects               */
/* ========================================= */

.animate-on-scroll {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.2, 1), transform 1.2s cubic-bezier(0.2, 1, 0.2, 1);
    will-change: opacity, transform;
}

/* Initial hidden states */
.fade-up {
    transform: translateY(60px);
}

.fade-down {
    transform: translateY(-40px);
}

.fade-left {
    transform: translateX(80px);
}

.fade-right {
    transform: translateX(-80px);
}

.fade-in {
    transform: scale(0.96);
    filter: blur(4px);
}

.scale-in {
    transform: scale(0.8) rotate(-5deg);
    filter: blur(5px);
}

/* Hardware accelerated visible interaction state */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0deg);
    filter: blur(0);
}

/* Cinematic cascade delays */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Enable smooth transitions for parallax targets */
.hero-portrait,
.ribbon-img,
.star-img {
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    will-change: transform;
}

/* Custom Cursor System */
body, a, button, input, textarea, select, .interactable {
    cursor: none !important;
}

iframe {
    cursor: auto !important; /* Retain default interaction for external cross-origin embeds */
}

.custom-cursor, .cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    border-radius: 50%;
}

/* Core Dot */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: #fff;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s, height 0.4s;
    mix-blend-mode: difference;
}

/* Following Trail Ring */
.cursor-trail {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s, height 0.4s;
}

/* Deep subtle electric purple blurred hover effect */
.custom-cursor.hovering {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border: 1px solid rgba(138, 43, 226, 0.1);
    box-shadow: 0 0 50px 15px rgba(138, 43, 226, 0.6), inset 0 0 25px rgba(138, 43, 226, 0.4);
    mix-blend-mode: screen;
}

/* Disappear trail quietly into glow */
.cursor-trail.hovering {
    opacity: 0;
    width: 60px;
    height: 60px;
}