/*======================================================
                TUTA TECHNOLOGIES
======================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/*======================================================
                    RESET & BASE
======================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/*======================================================
                    VARIABLES
======================================================*/

:root {
    --primary: #C10E18;
    --primary-dark: #8B000A;
    --primary-hover: #E61C29;
    --white: #ffffff;
    --grey: #d2d2d2;
    --lightGrey: #9a9a9a;
    --glass: rgba(255, 255, 255, .06);
    --transition: .35s cubic-bezier(0.4, 0, 0.2, 1);
}

/*======================================================
                BACKGROUND
======================================================*/

.hero-background {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*background image gradients*/
.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

/*======================================================
                    TOP BAR - FULL WIDTH
======================================================*/

.top-bar-wrapper {
    width: 100%;
    background: rgba(0, 0, 0, 0.142);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    z-index: 100;
}

.top-bar {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 3%;
    min-height: 36px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}

.top-bar-left a i {
    color: var(--primary);
    font-size: 12px;
    width: 14px;
}

.top-bar-left a:hover {
    color: white;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    transition: var(--transition);
    font-size: 12px;
}

.top-bar-right a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 14, 24, 0.3);
}

/*======================================================
                    NAVIGATION - FULL WIDTH WHITE
======================================================*/

.nav-wrapper-full {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    position: relative;
    z-index: 99;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 3%;
    min-height: 70px;
}

.logo img {
    height: 48px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

.contactBtn {
    background: var(--primary);
    color: white;
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.contactBtn:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 10px 25px rgba(193, 14, 24, 0.3);
}

/*======================================================
                LANDING PAGE LAYOUT
======================================================*/

.landingpage {
    height: calc(100vh - 106px); /* Subtract top bar + nav height */
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3%;
}

/*======================================================
                    HERO SECTION
======================================================*/

.hero {
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    flex: 1;
    min-height: 0;
    padding: 10px 0;
    gap: 20px;
}

/* LEFT PANEL */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    gap: 8px;
}

.section-tag {
    color: #FF4B55;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-left h1 {
    font-family: 'Poppins', sans-serif;
    font-weight:500;
    font-size: clamp(2.2rem, 3.1vw, 3.8rem);
    line-height: 1.00;
    letter-spacing: -0.5px;
    color: black;
}

.hero-left p {
    font-size: clamp(8px, 0.7vw, 12px);
    line-height: 1.6;
    color: black;
    max-width: 550px;
    opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 28px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

#primaryBtn {
    background: var(--primary);
    color: white;
}

#primaryBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(193, 14, 24, .35);
}

#imageBtn {
    color: black;
    
}
.hero-buttons a:last-child {
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    color: white;
}

.hero-buttons a:last-child:hover {
    background: white;
    color: red;
}
#imageBtn:hover {
    color: red;
}

/* TRUST BADGES */
.trust-badges {
    display: flex;
    gap: 35px;
    margin-top: 12px;
}

.badge {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 20px;
    font-weight: 600;
    /*color: var(--primary);*/
    color: black;
    line-height: 1;
}

.badge-label {
    font-size: 10px;
    color: var(--lightGrey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* RIGHT PANEL - FLYWHEEL */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 350px;
}

.flywheel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#flywheelSvg {
    width: 100%;
    height: auto;
    max-width: 500px;
    overflow: visible;
}

.segment {
    fill: #090909;
    stroke: transparent;
    stroke-width: 0;
    cursor: pointer;
    transition: fill .35s ease, stroke .35s ease, stroke-width .35s ease, filter .35s ease, transform .35s ease;
}

.label {
    fill: white;
    font-size: 20px;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.glow {
    fill: white;
    filter: drop-shadow(0 0 25px rgba(255, 0, 0, .55));
}

.center {
    fill: #770000;
    stroke: #240000;
    stroke-width: 5;
}

/* Logo image styling */
.logo-img {
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}
.wheel-panel {
    position: absolute;
    width: 165px;
    height: 165px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 20px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wheel-panel.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(193, 14, 24, 0.3);
    transform: scale(1.05);
}

.wheel-panel:nth-child(1) { 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
}

.wheel-panel:nth-child(2) { 
    top: 50%; 
    right: 0; 
    transform: translateY(-50%); 
}

.wheel-panel:nth-child(3) { 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
}

.wheel-panel:nth-child(4) { 
    top: 50%; 
    left: 0; 
    transform: translateY(-50%); 
}

.wheel-panel:hover {
    background: rgba(193, 14, 24, 0.3);
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(193, 14, 24, 0.2);
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.center-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.flywheel-container:hover .flywheel-rotator {
    animation-play-state: paused;
}

/*======================================================
                    TRUST BAR
======================================================*/
.trust-bar {
    flex-shrink: 0;
    padding: 8px 0;
    min-height: 131px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-box {
    background: rgba(8, 8, 8, .92);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, .06);
    height: 100%;
    min-height: 75px;
    max-width: 960px; /* <-- THIS CONTROLS THE WIDTH */
    width: 100%;
    margin: 0 auto; /* <-- THIS CENTERS IT */
}
.trust-text {
    width: 35%; /* Slightly increased for better balance */
    flex-shrink: 0;
}

.trust-text h3 {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    color: #ffffff;
}

.trust-text p {
    color: #BDBDBD;
    line-height: 1.4;
    font-size: clamp(7px, 0.7vw, 10px);
}

.trust-logos {
    width: 65%; /* Adjusted to match new layout */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 12px;
}

.trust-logos img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    padding: 8px;
    background: rgb(55, 55, 55);
    border-radius: 10px;
    filter: grayscale(100%) brightness(0.9);
    opacity: .7;
    cursor: pointer;
    transition: all .45s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-logos img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(193, 14, 24, .30);
}

.trust-logos:hover img {
    opacity: .35;
}

.trust-logos:hover img:hover {
    opacity: 1;
}

/*======================================================
                    RESPONSIVE TRUST BAR
======================================================*/

/* Tablet */
@media (max-width: 1100px) {
    .trust-box {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
        min-height: 70px;
    }
    
    .trust-text {
        width: 100%;
    }
    
    .trust-text h3 {
        white-space: normal;
    }
    
    .trust-logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-logos img {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .trust-bar {
        min-height: 65px;
        padding: 4px 0;
    }
    
    .trust-box {
        min-height: 60px;
        padding: 10px 16px;
        gap: 12px;
    }
    
    .trust-text h3 {
        font-size: 12px;
    }
    
    .trust-text p {
        font-size: 10px;
    }
    
    .trust-logos img {
        width: 35px;
        height: 35px;
        padding: 5px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .trust-box {
        min-height: 50px;
        padding: 8px 12px;
        gap: 8px;
        border-radius: 12px;
    }
    
    .trust-text h3 {
        font-size: 10px;
    }
    
    .trust-text p {
        font-size: 8px;
    }
    
    .trust-logos img {
        width: 28px;
        height: 28px;
        padding: 4px;
    }
}
/*======================================================
                    FOOTER
======================================================*/

footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    min-height: 36px;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
    color: rgb(0, 0, 0);
}

/*======================================================
                    ANIMATIONS
======================================================*/

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*======================================================
                    RESPONSIVE DESIGN
======================================================*/

/* Large Screens */
@media (max-width: 1400px) {
    .landingpage {
        padding: 0 2%;
    }
    
    .flywheel-container {
        max-width: 380px;
    }
    
    .wheel-panel {
        width: 140px;
        height: 140px;
        font-size: 12px;
        padding: 14px;
    }
    
    .center-logo {
        width: 70px;
        height: 70px;
    }
    
    .center-logo img {
        width: 42px;
        height: 42px;
    }
}

/* Tablet */
@media (max-width: 1100px) {
    .top-bar {
        flex-direction: column;
        gap: 6px;
        padding: 4px 3%;
        min-height: 28px;
    }
    
    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
    
    .top-bar-left a {
        font-size: 10px;
    }
    
    .top-bar-right {
        gap: 10px;
    }
    
    .top-bar-right a {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 8px 3%;
        min-height: 56px;
    }
    
    .logo img {
        height: 38px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    nav a {
        font-size: 12px;
    }
    
    .contactBtn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .landingpage {
        height: calc(100vh - 84px);
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 5px 0;
        overflow-y: auto;
    }
    
    .hero-left {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-left h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-left h1 br {
        display: inline;
    }
    
    .hero-right {
        min-height: 280px;
        max-height: 350px;
    }
    
    .flywheel-container {
        max-width: 320px;
    }
    
    .wheel-panel {
        width: 120px;
        height: 120px;
        font-size: 11px;
        padding: 12px;
    }
    
    .center-logo {
        width: 60px;
        height: 60px;
    }
    
    .center-logo img {
        width: 35px;
        height: 35px;
    }
    
    .trust-box {
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
        min-height: 70px;
    }
    
    .trust-text {
        width: 100%;
    }
    
    .trust-text h3 {
        white-space: normal;
    }
    
    .trust-logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-logos img {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 6px;
        padding: 4px 3%;
        min-height: 30px;
    }
    
    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .top-bar-left a {
        font-size: 9px;
        gap: 4px;
    }
    
    .top-bar-left a i {
        font-size: 10px;
        width: 12px;
    }
    
    .top-bar-right {
        gap: 8px;
    }
    
    .top-bar-right a {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 6px 3%;
        min-height: 50px;
    }
    
    .logo img {
        height: 32px;
    }
    
    nav ul {
        gap: 14px;
    }
    
    nav a {
        font-size: 10px;
    }
    
    .contactBtn {
        padding: 6px 16px;
        font-size: 10px;
    }
    
    .landingpage {
        height: calc(100vh - 80px);
        padding: 0 4%;
    }
    
    .hero {
        padding: 5px 0;
    }
    
    .section-tag {
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    .hero-left h1 {
        font-size: clamp(1.5rem, 4.5vw, 2.2rem);
        line-height: 1.15;
        color: black;
    }
    
    .hero-left p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 4px;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 240px;
        height: 38px;
        font-size: 11px;
        padding: 0 20px;
    }
    
    .trust-badges {
        gap: 20px;
        margin-top: 8px;
    }
    
    .badge-number {
        font-size: 20px;
    }
    
    .badge-label {
        font-size: 8px;
    }
    
    .hero-right {
        min-height: 200px;
        max-height: 250px;
    }
    
    .flywheel-container {
        max-width: 220px;
    }
    
    .wheel-panel {
        width: 85px;
        height: 85px;
        font-size: 8px;
        padding: 8px;
    }
    
    .center-logo {
        width: 44px;
        height: 44px;
    }
    
    .center-logo img {
        width: 26px;
        height: 26px;
    }
    
    .trust-bar {
        min-height: 65px;
        padding: 4px 0;
    }
    
    .trust-box {
        min-height: 60px;
        padding: 10px 16px;
        gap: 12px;
    }
    
    .trust-text h3 {
        font-size: 12px;
    }
    
    .trust-text p {
        font-size: 10px;
    }
    
    .trust-logos img {
        width: 35px;
        height: 35px;
        padding: 5px;
    }
    
    .footer-content {
        font-size: 9px;
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-bar {
        padding: 3px 3%;
        min-height: 24px;
    }
    
    .top-bar-left {
        gap: 8px;
    }
    
    .top-bar-left a {
        font-size: 7px;
        gap: 3px;
    }
    
    .top-bar-left a i {
        font-size: 8px;
        width: 10px;
    }
    
    .top-bar-right a {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    
    .nav-container {
        padding: 4px 3%;
        min-height: 44px;
        gap: 8px;
    }
    
    .logo img {
        height: 26px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav a {
        font-size: 8px;
    }
    
    .contactBtn {
        padding: 4px 12px;
        font-size: 8px;
    }
    
    .landingpage {
        height: calc(100vh - 68px);
        padding: 0 6px;
    }
    
    .hero-left h1 {
        font-size: 1.2rem;
    }
    
    .hero-left p {
        font-size: 10px;
    }
    
    .hero-buttons a {
        max-width: 180px;
        height: 32px;
        font-size: 10px;
        padding: 0 16px;
    }
    
    .trust-badges {
        gap: 14px;
    }
    
    .badge-number {
        font-size: 16px;
    }
    
    .hero-right {
        min-height: 140px;
        max-height: 180px;
    }
    
    .flywheel-container {
        max-width: 160px;
    }
    
    .wheel-panel {
        width: 60px;
        height: 60px;
        font-size: 6px;
        padding: 5px;
    }
    
    .center-logo {
        width: 32px;
        height: 32px;
    }
    
    .center-logo img {
        width: 18px;
        height: 18px;
    }
    
    .trust-box {
        min-height: 50px;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .trust-text h3 {
        font-size: 10px;
    }
    
    .trust-text p {
        font-size: 8px;
    }
    
    .trust-logos img {
        width: 28px;
        height: 28px;
        padding: 4px;
    }
}