/* ===============================================
   Real Core - Styles (Technology)
   =============================================== */

/* ===============================================
   1. CSS Variables & Reset
   =============================================== */

:root {
    /* RealCore Colors - Silver/Technology */
    --realcore-primary: #C0C8D0;
    --realcore-secondary: #E8ECEF;
    --realcore-accent: #A8B5C0;
    --navy-blue: #1E3A5F;
    --silver-gray: #C0C0C0;
    --white: #FFFFFF;
    --light-gray: #E3EEF2;
    --text-primary: #1E3A5F;
    --text-secondary: #4A5568;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 4rem;
    
    /* Fonts */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    animation: pageLoadFadeIn 0.4s ease-in;
}

@keyframes pageLoadFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===============================================
   2. Typography
   =============================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy-blue);
    margin-bottom: var(--spacing-xl);
    font-weight: 800;
}

.section-title.center {
    text-align: center;
}

/* ===============================================
   3. Navigation Header
   =============================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(192, 200, 208, 0.15);
    z-index: 1000;
    padding: 0.9rem 0;
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.header-logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--realcore-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--realcore-accent);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.header-cta {
    padding: 0.7rem 1.8rem;
    background: var(--realcore-primary);
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal);
    box-shadow: 0 3px 10px rgba(192, 200, 208, 0.2);
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 200, 208, 0.3);
    background: var(--realcore-accent);
}

/* ===============================================
   4. Container
   =============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===============================================
   4. Buttons
   =============================================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal), background var(--transition-fast);
    border: none;
    text-align: center;
    text-decoration: none;
    background: var(--realcore-primary);
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(192, 200, 208, 0.3);
    will-change: transform;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 200, 208, 0.4);
    background: var(--realcore-accent);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(192, 200, 208, 0.35);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--realcore-accent);
    border: 2px solid var(--realcore-accent);
}

.cta-button.secondary:hover {
    background: var(--realcore-accent);
    color: var(--white);
}

.cta-button.large {
    padding: 1.3rem 3rem;
    font-size: 1.3rem;
}

/* ===============================================
   5. Hero Section
   =============================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--realcore-primary) 0%, var(--navy-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 5px;
    transform: rotate(45deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-icon {
    font-size: 6rem;
    margin-bottom: var(--spacing-lg);
    animation: rotate 8s linear infinite;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
}

.hero-brand {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 400;
}

.hero-cta {
    background: var(--white);
    color: var(--navy-blue);
    font-size: 1.3rem;
    padding: 1.3rem 3rem;
    border-radius: 8px;
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===============================================
   6. Why Section
   =============================================== */

.why-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.why-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.why-main-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
    font-style: italic;
}

.why-benefits h3 {
    font-size: 1.4rem;
    color: var(--realcore-accent);
    margin-bottom: var(--spacing-md);
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    padding-right: var(--spacing-lg);
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--realcore-accent);
    font-weight: bold;
    font-size: 1.3rem;
}

.why-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-icon {
    font-size: 12rem;
    filter: drop-shadow(0 10px 30px rgba(192, 200, 208, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===============================================
   7. Products Section
   =============================================== */

.products-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.product-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(192, 200, 208, 0.05) 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(192, 200, 208, 0.2);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 45px rgba(192, 200, 208, 0.35);
    border-color: var(--realcore-accent);
}

.product-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.product-title {
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.product-features li {
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-right: var(--spacing-md);
    position: relative;
}

.product-features li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--realcore-accent);
    font-weight: bold;
}

.product-card .cta-button {
    width: 100%;
}

/* ===============================================
   8. Timeline Section
   =============================================== */

.timeline-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--realcore-secondary) 50%, var(--white) 100%);
    position: relative;
}

.timeline-flow {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-flow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 3px;
    background: var(--realcore-accent);
    transform: translateX(50%);
}

.timeline-step {
    position: relative;
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    transform: translateY(30px);
}

.timeline-step.visible {
    animation: fadeInUp 0.5s ease forwards;
}

.step-content {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(192, 200, 208, 0.25);
    position: relative;
    width: 45%;
    transition: all var(--transition-normal);
}

.step-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(192, 200, 208, 0.35);
}

.step-right .step-content {
    margin-right: auto;
    margin-left: 55%;
}

.step-left .step-content {
    margin-left: auto;
    margin-right: 55%;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.step-number {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--realcore-accent);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.step-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-connector {
    height: 30px;
}

.timeline-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ===============================================
   9. Features Section
   =============================================== */

.features-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(192, 200, 208, 0.15);
    transition: all var(--transition-normal);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 200, 208, 0.25);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===============================================
   10. Pricing Section
   =============================================== */

.pricing-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(192, 200, 208, 0.2);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card.featured {
    border-color: var(--realcore-accent);
    transform: translateY(-15px);
    box-shadow: 0 12px 45px rgba(192, 200, 208, 0.35);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(192, 200, 208, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: var(--realcore-accent);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.pricing-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.pricing-title {
    font-size: 1.6rem;
    color: var(--navy-blue);
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    padding-right: var(--spacing-lg);
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--realcore-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--realcore-accent);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.pricing-card .cta-button {
    width: 100%;
}

/* ===============================================
   11. FAQ Section
   =============================================== */

.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.faq-item {
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: var(--spacing-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    cursor: pointer;
    text-align: right;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    color: var(--realcore-accent);
}

.faq-arrow {
    font-size: 1rem;
    margin-left: var(--spacing-md);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 var(--spacing-lg) 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===============================================
   12. Final CTA Section
   =============================================== */

.final-cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--realcore-primary) 0%, var(--navy-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-decoration {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 10%;
    transform: rotate(45deg);
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
}

.final-cta-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.final-cta-btn {
    background: var(--white);
    color: var(--navy-blue);
    font-size: 1.4rem;
    padding: 1.5rem 3.5rem;
    margin-bottom: var(--spacing-md);
    border-radius: 10px;
}

.final-cta-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 45px rgba(255, 255, 255, 0.3);
}

.final-cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ===============================================
   13. Animations
   =============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
   14. Responsive Design
   =============================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-logo {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        display: none;
    }
    
    .header-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-icon {
        font-size: 4rem;
        animation: rotate 10s linear infinite;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .visual-icon {
        font-size: 6rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-card {
        padding: var(--spacing-lg);
    }
    
    .timeline-flow::before {
        right: 15px;
        width: 2px;
    }
    
    .step-content {
        width: calc(100% - 40px);
        margin: 0 !important;
        margin-right: 40px !important;
        padding: var(--spacing-lg);
        border-radius: 12px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 4px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .pricing-card {
        padding: var(--spacing-lg);
    }
    
    .pricing-card.featured {
        transform: translateY(0);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid .product-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

