/* P2PRIME Landing Page Styles - Binance-inspired */

/* Landing Header */
.landing-header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.landing-header .navbar {
    padding: 0;
}

.landing-header .navbar-brand {
    margin-right: 2rem;
}

.logo-link {
    text-decoration: none;
    color: var(--header-text);
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.site-logo {
    max-height: 40px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.landing-header .navbar-nav {
    gap: 1.5rem;
}

.landing-header .nav-link {
    color: var(--header-text);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.landing-header .nav-link:hover {
    color: var(--primary-color);
}

.landing-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.landing-header .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 1.1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.icon-btn:hover {
    color: var(--primary-color);
    background-color: rgba(240, 185, 11, 0.1);
    transform: scale(1.1);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--header-text);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--header-text);
    border-color: var(--primary-color);
}

.btn-signup {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #181a20;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-signup:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #181a20;
    transform: translateY(-1px);
}

.landing-header .navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
}

.landing-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background) 0%, var(--card-bg) 100%);
    padding: 4rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(240, 185, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-stats {
        margin-bottom: 2rem;
    }
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.trading-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px var(--shadow-lg);
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.trading-card:hover {
    transform: translateY(-5px);
}

.trading-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.currency-pair {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--success-color);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.trading-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-display {
    text-align: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.price-change {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.price-change.positive {
    color: var(--success-color);
}

.price-change.negative {
    color: var(--danger-color);
}

.trading-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px var(--shadow-lg);
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.trading-actions {
    display: flex;
    gap: 1rem;
}

.btn-trade {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-trade.buy {
    background: var(--success-color);
    color: white;
}

.btn-trade.buy:hover {
    background: #0db870;
    transform: translateY(-2px);
}

.btn-trade.sell {
    background: var(--danger-color);
    color: white;
}

.btn-trade.sell:hover {
    background: #e5354d;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--background);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: #181a20;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--card-bg);
}

.service-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Security Section */
.security-section {
    padding: 5rem 0;
    background: var(--background);
}

.security-content {
    padding-right: 2rem;
}

.security-features {
    margin-top: 2rem;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.security-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px var(--shadow-lg);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #181a20;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.security-badge i {
    font-size: 1.5rem;
}

.security-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-box {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #181a20;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #181a20;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(24, 26, 32, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-cta.btn-primary {
    background: #181a20;
    border-color: #181a20;
    color: var(--primary-color);
}

.btn-cta.btn-primary:hover {
    background: #2b2f38;
    border-color: #2b2f38;
    transform: translateY(-2px);
}

.btn-cta.btn-outline-light {
    border-color: #181a20;
    color: #181a20;
}

.btn-cta.btn-outline-light:hover {
    background: #181a20;
    color: var(--primary-color);
}

/* Footer */
.landing-footer {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--header-text);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-secondary);
    margin: 0;
}

.footer-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.icon-btn-sm {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--header-text);
    font-size: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.icon-btn-sm:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(240, 185, 11, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .security-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header-actions {
        flex-wrap: wrap;
    }
    
    .btn-login,
    .btn-signup {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .features-section,
    .services-section,
    .security-section {
        padding: 3rem 0;
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
}

