:root {
    --primary-brand: #FC4B08;
    --primary-brand-hover: #e04007;
    --bg-white: #ffffff;
    --bg-soft: #f8f9fa;
    --text-main: #202124;
    --text-secondary: #5f6368;
    --border-color: #dadce0;
    --glow-orange: rgba(252, 75, 8, 0.08);
    --glow-purple: rgba(161, 66, 244, 0.05);
    --border-radius-lg: 32px;
    --border-radius-md: 16px;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Fluid Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12-14px */
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);         /* 14-16px */
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);      /* 16-18px */
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);           /* 17.6-20px */
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);        /* 20-24px */
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);         /* 24-32px - Prices */
    --text-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 1.75rem);      /* 24-28px - Card h3 */
    --text-4xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);             /* 32-48px - Section h2 */
    --text-5xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);             /* 40-64px - Hero h2 */
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Glowing Elements */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--glow-orange) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header & Navigation */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.utility-bar {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
}

.utility-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

.utility-bar .social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.utility-bar .social-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    min-height: auto;
    min-width: auto;
    text-decoration: none;
}

.utility-bar .social-links a i {
    display: inline-block;
    line-height: 1;
}

.utility-bar .social-links a:hover {
    color: var(--primary-brand);
}

.utility-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-actions a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.utility-actions a:hover {
    color: var(--primary-brand);
}

.subscribe-btn {
    background: var(--primary-brand);
    color: white !important;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.subscribe-btn:hover {
    background: var(--primary-brand-hover);
}

#main-header.scrolled .utility-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    opacity: 0;
    pointer-events: none;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem;
    height: 70px;
    transition: height 0.3s ease;
    gap: 3rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

#main-header.scrolled .main-nav {
    height: 65px;
}

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

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.page-links {
    display: flex;
    gap: 2.5rem;
}

.page-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 100px;
    transition: background 0.2s;
}

.login:hover {
    background: rgba(0, 0, 0, 0.04);
}

.start-now-btn {
    text-decoration: none;
    background: var(--primary-brand);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(26, 115, 232, 0.15);
}

.start-now-btn:hover {
    background: var(--primary-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.2);
}

/* Sections */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    flex: 1;
}

/* Hero Section */
#hero {
    padding: 100px 0 140px;
    position: relative;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -2px;
}

.hero-text p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius-lg);
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1); */
}

/* Platform & Features */
#platform,
#security,
#why-us,
#pricing {
    padding: 100px 0;
}

section h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

section>.container>p {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: var(--bg-white);
    padding: 48px 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.platform-card:hover {
    border-color: var(--primary-brand);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.platform-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: 16px;
    color: var(--text-main);
}

.platform-card p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    flex-grow: 1;
}

.learn-more-btn {
    display: inline-block;
    margin-top: 32px;
    color: var(--primary-brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.learn-more-btn:hover {
    text-decoration: underline;
}

/* Pricing Section Special */
#pricing .platform-card {
    border-width: 2px;
}

.platform-card.featured {
    border-color: var(--primary-brand);
    background: linear-gradient(to bottom right, #ffffff, #f0f7ff);
}

.platform-card .price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-main);
    margin: 24px 0 8px;
    font-family: var(--font-display);
}

.platform-card .price span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 400;
}

/* ---------- FOOTER ---------- */
#footer {
    background-color: var(--bg-soft);
    padding: 100px 0 60px;
    border-top: 1px solid var(--border-color);
}

#footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-social h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-social .social-media {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.footer-social .social-media a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.2s;
}

.footer-social .social-media a:hover {
    color: var(--primary-brand);
}

.footer-social .copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-brand);
}

/* ---------- REGISTER SECTION ---------- */
#register-section {
    display: flex;
    min-height: calc(100vh - 80px);
}

.left-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.right-column {
    flex: 1;
    background: var(--bg-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

#register-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 8px;
    text-align: left;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
.captcha-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary-brand);
}

.primary-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-brand);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 16px;
}

.primary-btn:hover {
    background: var(--primary-brand-hover);
}

.social-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.social-btn:hover {
    background: var(--bg-soft);
}

/* Responsive Styles */
@media (max-width: 992px) {
    #hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        justify-content: center;
    }

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

    #register-section {
        flex-direction: column;
    }

    .right-column {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-links {
        display: none;
    }

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

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .user-actions {
        /* Ensure user actions are preserved or adjusted, but not hidden completely if required */
        gap: 0.5rem;
    }

    .user-actions .login {
        padding: 8px 12px;
    }

    .user-actions .start-now-btn {
        padding: 8px 16px;
    }

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

/* Showcase Section */
#showcase {
    padding: 100px 0;
    overflow: hidden;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-bottom: 24px;
    color: var(--text-main);
}

.showcase-text p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-image {
    flex: 1;
    position: relative;
}

.placeholder-box {
    width: 100%;
    height: 400px;
    background: var(--bg-soft);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.placeholder-box:hover {
    border-color: var(--primary-brand);
    background: rgba(252, 75, 8, 0.02);
}

@media (max-width: 992px) {

    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-bottom: 80px;
    }

    .showcase-text ul {
        display: inline-block;
        text-align: left;
    }
}
