﻿:root {
    --crph-black: #0a0b10;
    --crph-gray: #666;
    --crph-bg: #fcfcfc;
}

.crph-hero-section {
    background-color: var(--crph-bg);
    padding: 80px 20px 0 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.crph-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Styles */
.crph-main-title {
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 800;
    color: var(--crph-black);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.crph-sub-description {
    font-size: 1.1rem;
    color: var(--crph-gray);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.crph-download-btn {
    display: inline-block;
    background-color: var(--crph-black);
    color: #fff;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.crph-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Visual Area Positioning */
.crph-visual-canvas {
    position: relative;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.crph-mobile-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.crph-mobile-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Card Styles */
.crph-coin-card {
    position: absolute;
    z-index: 2;
    padding: 12px;
    border-radius: 20px;
    animation: crphFloat 6s ease-in-out infinite;
}

.crph-coin-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crph-coin-card img {
    width: 30%;
    height: auto;
}

/* Exact Position from your reference images */
.crph-btc-pos {
  left: -18%;
  top: 20%;
}

.crph-eth-pos {
    right: -27%;
    top: 55%;
    animation-delay: 1.5s;
}

/* Float Animation */
@keyframes crphFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .crph-coin-card img { width: 80px; }
    .crph-btc-pos { left: 5%; }
    .crph-eth-pos { left: -5%; }
}

@media (max-width: 768px) {
    .crph-coin-card {
        display: none; /* Hide floating cards on small mobile to avoid clutter */
    }
    .crph-main-title { font-size: 2.5rem; }
}


/* Section Styles */
.market-opportunities {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif; /* Recommended clean font */
    overflow: hidden;
}

.opportunities-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Vertically centers text with image */
    gap: 60px; /* Space between image and text */
}

/* Image Side */
.opportunities-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.opportunities-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
}

/* Text Side */
.opportunities-text {
    flex: 1;
}

.opportunities-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem); /* Responsive font size */
    font-weight: 500;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.opportunities-text p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    max-width: 500px;
}

/* Responsive for Tablets and Mobile */
@media (max-width: 992px) {
    .opportunities-container {
        flex-direction: column; /* Stack vertically on small screens */
        text-align: center;
        gap: 40px;
    }
    
    .opportunities-text p {
        margin: 0 auto;
    }

    .opportunities-text h2 {
        font-size: 2.5rem;
    }
}

.features-section {
    padding: 80px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Create a 3-column grid */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #f6f6f6; /* Light gray background */
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-top: 20px;
}

/* Image container styling */
.feature-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Make the 5th card span 2 columns */
.wide-card {
    grid-column: span 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .wide-card {
        grid-column: span 1;
    }
    .feature-card {
        padding: 20px;
    }
}

.faq-section {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.faq-list {
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #e9edf5;
    border-radius: 18px;
    background: #fff;
    padding: 0;
    box-shadow: 0 8px 24px rgba(10, 11, 16, 0.06);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Custom CSS Plus/Minus Icon */
.faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #a0a0a0;
    transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    top: 6px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Vertical line (the one that disappears on minus) */
.faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 100%;
}

/* Active State Styles */
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background-color: #000;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 520px; /* room for longer answers */
}

.faq-content p {
    padding: 0 24px 22px 24px;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 90%;
}

@media (max-width: 768px) {
    .faq-header { padding: 18px 16px; }
    .faq-content p { padding: 0 16px 18px 16px; max-width: 100%; }
}
