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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111111;
    color: #ffffff;
    line-height: 1.6;
}

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

.navbar {
    width: 100%;
    min-height: 76px;
    padding: 20px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090909;
    border-bottom: 1px solid #242424;
}

.logo {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #e82127;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar nav a {
    font-size: 14px;
    color: #e5e5e5;
    transition: color 0.2s;
}

.navbar nav a:hover {
    color: #ffffff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    min-height: 660px;
    display: flex;
    align-items: center;
    padding: 90px 8%;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.30)),
        linear-gradient(135deg, #292929, #101010 60%, #333333);
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #b8b8b8;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 510px;
    font-size: 17px;
    color: #d0d0d0;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;
    min-width: 155px;
    padding: 13px 23px;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

.btn-light {
    background: #ffffff;
    color: #111111;
}

.btn-light:hover {
    background: #d9d9d9;
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #111111;
}

.content-section {
    padding: 90px 7%;
    text-align: center;
    background: #111111;
}

.content-section h2,
.invest-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.content-section > p:not(.eyebrow) {
    color: #bcbcbc;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 45px;
    text-align: left;
}

.card {
    background: #1a1a1a;
    border: 1px solid #303030;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 25px;
}

.card-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    background-color: #292929;
}

.product-one {
    background-image: linear-gradient(135deg, #454545, #151515);
}

.product-two {
    background-image: linear-gradient(135deg, #343434, #0b0b0b);
}

.product-three {
    background-image: linear-gradient(135deg, #555555, #202020);
}

.card h3 {
    font-size: 20px;
    margin: 22px 22px 8px;
}

.card p {
    font-size: 14px;
    color: #bcbcbc;
    margin: 0 22px 18px;
}

.card a {
    display: inline-block;
    margin: 0 22px;
    font-size: 13px;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

.invest-section {
    padding: 100px 8%;
    text-align: center;
    background: #202020;
}

.invest-section > p:not(.eyebrow) {
    max-width: 680px;
    margin: 0 auto 30px;
    color: #c7c7c7;
}

.about-section {
    background: #151515;
}

.about-section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto;
}

footer {
    padding: 35px 7%;
    text-align: center;
    background: #080808;
    border-top: 1px solid #252525;
    color: #bcbcbc;
    font-size: 12px;
}

.disclaimer {
    max-width: 700px;
    margin: 10px auto 0;
    font-size: 11px;
    color: #888888;
}

@media (max-width: 768px) {
    .navbar {
        padding: 17px 5%;
    }

    .logo {
        font-size: 17px;
    }

    .navbar nav {
        gap: 18px;
    }

    .hero {
        min-height: 570px;
        padding: 75px 6%;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .content-section,
    .invest-section {
        padding: 70px 6%;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-wrap: wrap;
    }

    .logo {
        font-size: 15px;
    }

    .navbar nav {
        gap: 13px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 530px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn {
        width: 100%;
    }
}

/* TWO-PANEL HOMEPAGE */

.split-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 76px);
    background: #080808;
}

.split-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    padding: 70px 8%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background-color 0.3s;
}

.invest-panel {
    background:
        linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.12)),
        linear-gradient(135deg, #353535, #111111);
    border-right: 1px solid #444;
}

.shop-panel {
    background:
        linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.12)),
        linear-gradient(135deg, #242424, #090909);
}

.split-panel:hover {
    background-color: #292929;
}

.panel-content {
    max-width: 480px;
}

.panel-content h1 {
    font-size: clamp(50px, 6vw, 82px);
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -2px;
}

.panel-content > p:not(.eyebrow) {
    color: #dedede;
    font-size: 16px;
    margin-bottom: 28px;
}

.panel-button {
    display: inline-block;
    min-width: 160px;
    padding: 13px 25px;
    border: 1px solid white;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: white;
    transition: background 0.2s, color 0.2s;
}

.split-panel:hover .panel-button {
    background: white;
    color: #111;
}

.detail-section {
    padding: 90px 7%;
    text-align: center;
    background: #111;
}

.detail-section h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 15px;
}

.detail-section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto;
    color: #bcbcbc;
}

.shop-detail {
    background: #1b1b1b;
}

@media (max-width: 768px) {
    .split-home {
        grid-template-columns: 1fr;
    }

    .split-panel {
        min-height: 460px;
        padding: 50px 7%;
    }

    .invest-panel {
        border-right: none;
        border-bottom: 1px solid #444;
    }
}

/* FULL-WIDTH HORIZONTAL SECTIONS: INVEST ABOVE, SHOP BELOW */

.split-home {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.split-panel {
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 8%;
}

.invest-panel {
    border-right: none;
    border-bottom: 1px solid #444;
}

.shop-panel {
    border-bottom: none;
}

@media (max-width: 768px) {
    .split-panel {
        min-height: 60vh;
        padding: 45px 6%;
    }
}

/* RED INVEST SECTION */

.invest-panel {
    background: linear-gradient(
        135deg,
        #b80000,
        #750000
    );
    border-right: none;
    border-bottom: 1px solid #444;
}

.invest-panel:hover {
    background: linear-gradient(
        135deg,
        #d00000,
        #900000
    );
}

.invest-panel {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.12)),
                linear-gradient(135deg, #353535, #111111);
}

.panel-content h1 {
    color: #ffffff;
}

.invest-panel .panel-content h1 {
    color: #e82127;
}

.invest-panel:hover {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.12)),
                linear-gradient(135deg, #353535, #111111);
}

.invest-panel:hover .panel-content h1 {
    color: #e82127;
}

.invest-panel {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.40), rgba(255, 255, 255, 0.12)),
        url("images/invest-background.jpg") center / cover no-repeat;
}

.invest-panel:hover {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.40), rgba(255, 255, 255, 0.12)),
        url("images/invest-background.jpg") center / cover no-repeat;
}

.invest-panel {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.40), rgba(255, 255, 255, 0.12)),
        url("images/Invest banner.jpg") center / cover no-repeat;
}

.invest-panel:hover {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.40), rgba(255, 255, 255, 0.12)),
        url("images/Invest banner.jpg") center / cover no-repeat;
}

.invest-panel,
.invest-panel:hover {
    background-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.25),
            rgba(255, 255, 255, 0.20)
        ),
        url("images/Invest banner.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.invest-panel,
.invest-panel:hover {
    background-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.10),
            rgba(255, 255, 255, 0.05)
        ),
        url("images/Invest banner.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.invest-panel,
.invest-panel:hover {
    background-image:
        linear-gradient(
            to top,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.45)
        ),
        url("images/Invest banner.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.invest-panel .panel-content p {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
    opacity: 1 !important;
}

.invest-panel .panel-content h1 {
    color: #e82127 !important;
    font-size: clamp(52px, 7vw, 95px) !important;
    font-weight: 900 !important;
    letter-spacing: 8px !important;
    text-transform: uppercase;
    text-shadow:
        0 3px 4px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(232, 33, 39, 0.55),
        0 0 40px rgba(232, 33, 39, 0.25) !important;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.invest-panel:hover .panel-content h1 {
    transform: scale(1.05);
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 24px rgba(232, 33, 39, 0.75),
        0 0 50px rgba(232, 33, 39, 0.4) !important;
}

.navbar {
    display: none !important;
}

.split-home {
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
}

.split-panel {
    min-height: 0 !important;
    height: 50% !important;
    flex: 1 1 50% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .split-home {
        height: 100vh !important;
        height: 100dvh !important;
    }

    .split-panel {
        min-height: 0 !important;
        height: 50% !important;
        flex: 1 1 50% !important;
    }
}

.shop-panel,
.shop-panel:hover {
    background-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/shopping bannerz.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Make the SHOP heading stylish like INVEST */
.shop-panel .panel-content h1 {
    color: #ffffff !important;
    font-size: clamp(52px, 7vw, 95px) !important;
    font-weight: 900 !important;
    letter-spacing: 8px !important;
    text-transform: uppercase;
    text-shadow:
        0 3px 4px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2) !important;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.shop-panel:hover .panel-content h1 {
    transform: scale(1.05);
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 24px rgba(255, 255, 255, 0.65),
        0 0 50px rgba(255, 255, 255, 0.3) !important;
}

/* Keep the Shop description readable */
.shop-panel .panel-content p {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
    opacity: 1 !important;
}

/* Top-centered Tesla Inc Insiders branding */
.site-brand {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 2vw, 23px);
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.brand-tesla {
    color: #ffffff;
    font-weight: 300;
}

.brand-insiders {
    color: #e82127;
    font-weight: 300;
}

/* Premium top-centered branding */
.site-brand {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 2vw, 23px);
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.brand-tesla {
    color: #ffffff;
    font-weight: 300;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(255, 255, 255, 0.2);
}

.brand-insiders {
    color: #e82127;
    font-weight: 300;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.85),
        0 0 10px rgba(232, 33, 39, 0.35);
}
.site-brand {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-brand.brand-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Index landing page */
body.home-page {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #030303;
    color: #fff;
}

.home-page .navbar {
    display: none !important;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    height: 50vh;
    height: 50svh;
    place-items: center;
    overflow: hidden;
    background: #08090c;
    transition: filter .35s ease;
}

.landing-shop {
    position: relative;
    isolation: isolate;
    display: grid;
    height: 50vh;
    height: 50svh;
    place-items: center;
    overflow: hidden;
    background: #08090c;
    transition: filter .35s ease;
}

.landing-hero:hover::before {
    filter: brightness(1.18);
    transition: filter .35s ease;
}

.landing-hero + .landing-shop {
    transition: filter .35s ease;
}

.landing-hero:hover + .landing-shop {
    filter: brightness(.42);
}

.home-page:has(.landing-shop:hover) .landing-hero {
    filter: brightness(.42);
}

.landing-shop:hover::before {
    filter: brightness(1.18);
}

.landing-shop::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .48)), url("https://digitalassets.tesla.com/tesla-contents/image/upload/f_auto,q_auto/Model-S-Hero-Desktop-US-v2.jpg");
    background-position: center, center 55%;
    background-size: cover, cover;
    background-repeat: no-repeat;
    transition: filter .35s ease;
}

.landing-shop-copy h1,
.landing-hero .landing-copy h1 {
    color: #fff;
    text-shadow:
        0 0 3px rgba(255, 70, 78, .7),
        0 0 9px rgba(255, 38, 50, .42),
        0 0 18px rgba(255, 20, 35, .2);
}

.landing-shop-copy p {
    color: rgba(255, 255, 255, .78);
}

.home-page .landing-button-secondary {
    background: rgba(20, 20, 20, .48);
    border-color: rgba(255, 255, 255, .32);
    backdrop-filter: blur(6px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-page .landing-button-secondary:hover {
    border-color: rgba(255, 38, 50, .92);
    box-shadow: 0 0 8px rgba(255, 38, 50, .45), 0 0 20px rgba(255, 38, 50, .2);
}

.landing-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .48)), url("Images/hero2.jpg");
    background-position: center, center 41%;
    background-size: cover, cover;
    background-repeat: no-repeat;
    opacity: .9;
    transition: filter .35s ease;
    pointer-events: none;
}

.landing-dust {
    position: absolute;
    z-index: 1;
    inset: -12%;
    pointer-events: none;
    opacity: .58;
    background-image:
        radial-gradient(2.5px 2.5px at 24px 36px, rgba(255,255,255,.95) 45%, transparent 72%),
        radial-gradient(1.8px 1.8px at 112px 154px, rgba(255,255,255,.92) 45%, transparent 72%),
        radial-gradient(3px 3px at 198px 82px, rgba(255,255,255,.84) 45%, transparent 72%),
        radial-gradient(2px 2px at 72px 224px, rgba(255,255,255,.9) 45%, transparent 72%),
        radial-gradient(1.5px 1.5px at 176px 188px, rgba(255,255,255,.8) 45%, transparent 72%);
    background-size: 250px 260px, 310px 330px, 390px 370px, 470px 420px, 340px 290px;
    animation: landing-dust-drift 18s linear infinite, landing-dust-glimmer 4s ease-in-out infinite alternate;
}

.landing-hero::after {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: #ff2632;
    box-shadow: 0 0 9px rgba(255, 38, 50, .9), 0 0 24px rgba(255, 38, 50, .55);
    pointer-events: none;
}

.landing-brand {
    position: absolute;
    z-index: 2;
    top: 34px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: clamp(16px, 1.5vw, 23px);
    font-weight: 300;
    letter-spacing: .42em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

.tesla-mark {
    display: block;
    width: 43px;
    height: 44px;
    flex: 0 0 auto;
    color: #ed1c24;
}

.landing-brand .brand-tesla { color: rgba(255, 255, 255, .94); }
.landing-brand .brand-insiders { color: #ed1c24; }

    .landing-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    padding: 0 22px;
    text-align: center;
    transform: translateY(-9vh);
}

.landing-copy h1 {
    margin: 0;
    color: #f32631;
    font-size: clamp(54px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.08;
    text-shadow:
        0 0 3px rgba(255, 70, 78, .7),
        0 0 9px rgba(255, 38, 50, .42),
        0 0 18px rgba(255, 20, 35, .2);
}

.landing-hero .landing-copy {
    transform: none;
}

.landing-hero .landing-copy h1 {
    font-size: clamp(42px, 4.6vw, 66px);
    letter-spacing: .16em;
}

.landing-hero .landing-copy p {
    margin: 8px 0 22px;
    font-size: clamp(12px, 1vw, 15px);
    letter-spacing: .14em;
}

.landing-hero .landing-button {
    min-height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .16em;
}

.landing-shop .landing-copy {
    transform: none;
}

.landing-shop .landing-copy h1 {
    color: #fff;
    font-size: clamp(42px, 4.6vw, 66px);
    letter-spacing: .16em;
}

.landing-shop .landing-copy p {
    margin: 8px 0 22px;
    font-size: clamp(12px, 1vw, 15px);
    letter-spacing: .14em;
}

.landing-shop .landing-button {
    min-height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .16em;
}

.landing-copy p {
    margin: 10px 0 36px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(13px, 1.25vw, 18px);
    letter-spacing: .19em;
}

.landing-button {
    min-height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 34px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.landing-button span { font-size: 20px; line-height: 1; }
.landing-button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.landing-button-primary {
    background: #e82127;
    border-color: #e82127;
    color: #fff;
    box-shadow: 0 5px 22px rgba(232, 33, 39, .24);
}
.landing-button-primary:hover {
    background: #f32b32;
    border-color: #f32b32;
    box-shadow: 0 7px 26px rgba(232, 33, 39, .34);
}

@keyframes landing-dust-drift {
    from { transform: translate3d(-3%, 3%, 0); }
    to { transform: translate3d(3%, -3%, 0); }
}

@keyframes landing-dust-glimmer {
    from { opacity: .35; }
    to { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-dust { animation: none; opacity: .48; }
}

.home-page > footer { display: none; }

@media (max-width: 600px) {
    .landing-hero { background-position: center; }
    .landing-brand { top: 28px; gap: 9px; font-size: 13px; letter-spacing: .3em; }
    .tesla-mark { width: 34px; height: 36px; }
    .landing-copy { margin-top: 0; transform: translateY(-7vh); }
    .landing-copy h1 { font-size: clamp(48px, 13vw, 68px); letter-spacing: .16em; }
    .landing-copy p { max-width: 320px; margin: 12px 0 30px; line-height: 1.7; }
    .landing-button { min-height: 54px; padding: 0 23px; font-size: 11px; letter-spacing: .14em; }
}
