/* Base Tokens & Styling */
:root {
    --primary: #ff8b00;
    --primary-light: #ffaa42;
    --primary-dark: #cc6f00;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 139, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 139, 0, 0.3);
    background: var(--primary-light);
}

.btn-primary-outline {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: white !important;
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    z-index: 10;
    padding-right: 4rem;
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 139, 0, 0.08);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(255, 139, 0, 0.2);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1.8rem;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ff4e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dynamic Text Component */
.dynamic-text {
    display: inline-block;
    font-style: italic;
    min-width: 240px;
    border-bottom: 5px solid var(--primary);
    padding-bottom: 2px;
    line-height: 1;
    position: relative;
    top: 5px;
}

.dynamic-cursor {
    animation: blink 1s step-end infinite;
    font-weight: 300;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-trust {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 2rem;
}

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

.trust-number, .trust-icon {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.2rem;
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 1;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-main-img {
    width: 85%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(255, 139, 0, 0.15);
    z-index: 5;
    animation: floatImg 8s ease-in-out infinite;
}

/* Dynamic Fluid Background */
.fluid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    position: absolute;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    min-width: 250px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    transform-style: preserve-3d;
}

.glass-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.main-card {
    top: 15%;
    left: -15%;
}

.sub-card {
    bottom: 15%;
    right: -10%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 1.8rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.glass-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.glass-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

/* Fluid Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 139, 0, 0.2);
    top: -100px;
    right: -100px;
    animation: move1 12s infinite ease-in-out alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 170, 66, 0.15);
    bottom: -50px;
    left: -50px;
    animation: move2 15s infinite ease-in-out alternate;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: rgba(204, 111, 0, 0.12);
    top: 30%;
    left: 30%;
    animation: move3 18s infinite ease-in-out alternate;
}

@keyframes move1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 150px) scale(1.1); }
}
@keyframes move2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, -100px) scale(1.15); }
}
@keyframes move3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, -150px) scale(0.9); }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes floatImg {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.1); opacity: 1; }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding-top: 10rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 5rem;
    }
    
    .hero-description {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-card { left: 0; top: -5%; }
    .sub-card { right: 0; bottom: -5%; }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
}
