/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #667eea;
    letter-spacing: 1px;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    font-family: 'Noto Sans KR', sans-serif;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.cta-button, .contact-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: 0.8px;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-button:hover, .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.cta-button.hero-cta {
    padding: 18px 36px;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: url(../images/bgc.jpg)no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.chart-animation {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 200px;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    transform: translateY(-50%);
    animation: chartPulse 3s ease-in-out infinite;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    padding: 20px 0;
}

.bar {
    width: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-in-out infinite;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes chartPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes barGrow {
    0%, 100% { transform: scaleY(0.8); }
    50% { transform: scaleY(1.2); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
    letter-spacing: 1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
}

.feature-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Stock Dashboard */
.stock-dashboard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.dashboard-header h3 {
    color: #333;
    font-size: 1.2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stock-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stock-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stock-item:hover {
    transform: translateX(5px);
}

.stock-name {
    font-weight: 700;
    color: #333;
}

.stock-price {
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.stock-change {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.trending-up .stock-change {
    background: #dcfce7;
    color: #16a34a;
}

.trending-down .stock-change {
    background: #fef2f2;
    color: #dc2626;
}

.ai-recommendation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    font-weight: 700;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.feature-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-module.reverse {
    direction: rtl;
}

.feature-module.reverse > * {
    direction: ltr;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-graphic {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ai-analysis {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.big-data {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.user-friendly {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.graphic-content {
    position: relative;
    z-index: 2;
}

.graphic-content i {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.analysis-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: wave 3s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 1s;
}

.wave:nth-child(3) {
    animation-delay: 2s;
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.data-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: dataFloat 4s ease-in-out infinite;
}

.data-point:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.data-point:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.data-point:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.data-point:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes dataFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.interface-demo {
    position: relative;
}

.demo-screen {
    width: 120px;
    height: 200px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-chart {
    width: 100%;
    height: 60%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.demo-chart::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: chartScan 2s ease-in-out infinite;
}

@keyframes chartScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.demo-buttons {
    display: flex;
    gap: 5px;
}

.demo-btn {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 4px;
}

.feature-content h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
    letter-spacing: 0.8px;
}

.feature-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.feature-list i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Activity Section */
.activity-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.activity-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-10px);
}

.overview-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.overview-card p {
    color: #666;
    font-size: 1.1rem;
}

.activity-details {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.activity-details h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: white;
}

.detail-content h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: #666;
    line-height: 1.6;
}

.terms-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.terms-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.term-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.term-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.term-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.term-item p {
    color: #666;
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    color: white;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 20px;
}

.contact-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 700;
}

.contact-method i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 3rem 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #667eea;
    letter-spacing: 1px;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-module {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-module.reverse {
        direction: ltr;
    }
    
    .activity-overview {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Stock-specific animations and effects */
.stock-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 10px 0;
    z-index: 1000;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    white-space: nowrap;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Loading and transition effects */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.2rem;
}

.reviewer-info .reviewer-role {
    color: #666;
    font-size: 0.9rem;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #ffd700;
    font-size: 1.1rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    font-style: italic;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: right;
}

/* Fixed Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 0.5px;
    animation: floatPulse 3s ease-in-out infinite;
    font-family: 'Noto Sans KR', sans-serif;
    width: max-content;
}

.floating-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.floating-btn img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.floating-btn .btn-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

/* Responsive for reviews and floating button */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .floating-btn {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .floating-btn img {
        width: 20px;
        height: 20px;
    }
}
