/* Base Styles - Common CSS Variables and Global Styles */

/* CSS Custom Properties */
:root {
    --primary-purple: #6C63FF;
    --accent-teal: #025DFF;
    --dark-gray: #2D3748;
    --light-gray: #F7FAFC;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #A0AEC0;
    --gray-medium: #718096;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    
    /* Typography */
    --font-primary: 'Montserrat', Arial, sans-serif;
    --font-secondary: 'Montserrat', Arial, sans-serif;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 767px) {
    .container {
        max-width: 90vw !important;
    }
}

/* Typography */
.heading-large {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.heading-section {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

.subheading {
    font-size: 1.5rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    right: 25px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.btn:hover {
    padding-right: 35px;
}

.btn:hover::after {
    opacity: 0;
    transform: translateX(0);
}

.btn-primary {
    background: var(--accent-teal);
    color: var(--white);
}

.btn-primary:hover {
    background: #1DA69A;
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-red {
    background: #005ffa;
    color: var(--white);
}

.btn-red:hover {
    background: #0047b8;
    transform: translateY(-3px);
}

/* Page Header - Simple header for subpages */
.page-header {
    padding: 120px 0 60px;
    background: var(--white);
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    text-align: left;
}

/* Background Text Animation */
.background-text-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.scrolling-text {
    position: absolute;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 200%;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #c0c0c0;
    text-stroke: 1px #c0c0c0;
    opacity: 0.1;
    user-select: none;
}

.scrolling-text:nth-child(1) {
    top: 30%;
    left: 0;
    animation: scroll-horizontal-right 30s linear infinite;
}

.scrolling-text:nth-child(2) {
    top: 60%;
    left: 0;
    animation: scroll-horizontal-left 25s linear infinite;
}

.scrolling-text span {
    margin-right: 8vw;
    display: inline-block;
}

@keyframes scroll-horizontal-right {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-horizontal-left {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes scrollText {
    from {
        transform: translateY(-50%) translateX(0);
    }
    to {
        transform: translateY(-50%) translateX(-100%);
    }
}

/* Responsive Typography */
@media (max-width: 991px) {
    .heading-large {
        font-size: 70px;
    }
    
    .heading-section {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .heading-large {
        font-size: 69px;
    }
    
    .subheading {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .scrolling-text {
        font-size: 4rem;
    }
}

@media (max-width: 478px) {
    .heading-large {
        font-size: 52px;
    }
    
    .subheading {
        font-size: 1rem;
    }
    
    .heading-section {
        font-size: 45px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}