
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d1b4e 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

/* Individual star positions */
.star1 { left: 5%; top: 10%; animation-delay: 0s; }
.star2 { left: 15%; top: 25%; animation-delay: 0.2s; }
.star3 { left: 25%; top: 15%; animation-delay: 0.4s; }
.star4 { left: 35%; top: 30%; animation-delay: 0.6s; }
.star5 { left: 45%; top: 20%; animation-delay: 0.8s; }
.star6 { left: 55%; top: 35%; animation-delay: 1.0s; }
.star7 { left: 65%; top: 10%; animation-delay: 1.2s; }
.star8 { left: 75%; top: 25%; animation-delay: 1.4s; }
.star9 { left: 85%; top: 15%; animation-delay: 1.6s; }
.star10 { left: 95%; top: 30%; animation-delay: 1.8s; }
.star11 { left: 10%; top: 45%; animation-delay: 0.1s; }
.star12 { left: 20%; top: 55%; animation-delay: 0.3s; }
.star13 { left: 30%; top: 65%; animation-delay: 0.5s; }
.star14 { left: 40%; top: 50%; animation-delay: 0.7s; }
.star15 { left: 50%; top: 60%; animation-delay: 0.9s; }
.star16 { left: 60%; top: 45%; animation-delay: 1.1s; }
.star17 { left: 70%; top: 55%; animation-delay: 1.3s; }
.star18 { left: 80%; top: 65%; animation-delay: 1.5s; }
.star19 { left: 90%; top: 50%; animation-delay: 1.7s; }
.star20 { left: 8%; top: 80%; animation-delay: 1.9s; }
.star21 { left: 18%; top: 75%; animation-delay: 0.2s; }
.star22 { left: 28%; top: 85%; animation-delay: 0.4s; }
.star23 { left: 38%; top: 90%; animation-delay: 0.6s; }
.star24 { left: 48%; top: 80%; animation-delay: 0.8s; }
.star25 { left: 58%; top: 75%; animation-delay: 1.0s; }
.star26 { left: 68%; top: 85%; animation-delay: 1.2s; }
.star27 { left: 78%; top: 90%; animation-delay: 1.4s; }
.star28 { left: 88%; top: 80%; animation-delay: 1.6s; }
.star29 { left: 98%; top: 75%; animation-delay: 1.8s; }
.star30 { left: 3%; top: 40%; animation-delay: 0.1s; }
.star31 { left: 13%; top: 60%; animation-delay: 0.3s; }
.star32 { left: 23%; top: 5%; animation-delay: 0.5s; }
.star33 { left: 33%; top: 95%; animation-delay: 0.7s; }
.star34 { left: 43%; top: 5%; animation-delay: 0.9s; }
.star35 { left: 53%; top: 95%; animation-delay: 1.1s; }
.star36 { left: 63%; top: 5%; animation-delay: 1.3s; }
.star37 { left: 73%; top: 95%; animation-delay: 1.5s; }
.star38 { left: 83%; top: 5%; animation-delay: 1.7s; }
.star39 { left: 93%; top: 95%; animation-delay: 1.9s; }
.star40 { left: 2%; top: 55%; animation-delay: 0.15s; }
.star41 { left: 12%; top: 35%; animation-delay: 0.35s; }
.star42 { left: 22%; top: 70%; animation-delay: 0.55s; }
.star43 { left: 32%; top: 12%; animation-delay: 0.75s; }
.star44 { left: 42%; top: 88%; animation-delay: 0.95s; }
.star45 { left: 52%; top: 22%; animation-delay: 1.15s; }
.star46 { left: 62%; top: 78%; animation-delay: 1.35s; }
.star47 { left: 72%; top: 32%; animation-delay: 1.55s; }
.star48 { left: 82%; top: 42%; animation-delay: 1.75s; }
.star49 { left: 92%; top: 68%; animation-delay: 1.95s; }
.star50 { left: 7%; top: 28%; animation-delay: 0.25s; }

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 188, 212, 0.6);
    border-radius: 50%;
    animation: float-particle 8s infinite linear;
}

/* Individual particle positions and colors */
.particle1 { left: 8%; animation-delay: 0s; animation-duration: 8s; background: rgba(0, 188, 212, 0.6); }
.particle2 { left: 15%; animation-delay: 1s; animation-duration: 9s; background: rgba(138, 43, 226, 0.4); }
.particle3 { left: 22%; animation-delay: 2s; animation-duration: 7s; background: rgba(255, 20, 147, 0.3); }
.particle4 { left: 35%; animation-delay: 3s; animation-duration: 10s; background: rgba(0, 255, 255, 0.3); }
.particle5 { left: 42%; animation-delay: 4s; animation-duration: 6s; background: rgba(0, 188, 212, 0.6); }
.particle6 { left: 55%; animation-delay: 5s; animation-duration: 8s; background: rgba(138, 43, 226, 0.4); }
.particle7 { left: 68%; animation-delay: 6s; animation-duration: 9s; background: rgba(255, 20, 147, 0.3); }
.particle8 { left: 75%; animation-delay: 7s; animation-duration: 7s; background: rgba(0, 255, 255, 0.3); }
.particle9 { left: 88%; animation-delay: 0.5s; animation-duration: 8s; background: rgba(0, 188, 212, 0.6); }
.particle10 { left: 95%; animation-delay: 1.5s; animation-duration: 9s; background: rgba(138, 43, 226, 0.4); }
.particle11 { left: 12%; animation-delay: 2.5s; animation-duration: 10s; background: rgba(255, 20, 147, 0.3); }
.particle12 { left: 28%; animation-delay: 3.5s; animation-duration: 6s; background: rgba(0, 255, 255, 0.3); }
.particle13 { left: 38%; animation-delay: 4.5s; animation-duration: 8s; background: rgba(0, 188, 212, 0.6); }
.particle14 { left: 48%; animation-delay: 5.5s; animation-duration: 7s; background: rgba(138, 43, 226, 0.4); }
.particle15 { left: 62%; animation-delay: 6.5s; animation-duration: 9s; background: rgba(255, 20, 147, 0.3); }
.particle16 { left: 72%; animation-delay: 7.5s; animation-duration: 8s; background: rgba(0, 255, 255, 0.3); }
.particle17 { left: 82%; animation-delay: 0.25s; animation-duration: 10s; background: rgba(0, 188, 212, 0.6); }
.particle18 { left: 5%; animation-delay: 1.25s; animation-duration: 6s; background: rgba(138, 43, 226, 0.4); }
.particle19 { left: 45%; animation-delay: 2.25s; animation-duration: 7s; background: rgba(255, 20, 147, 0.3); }
.particle20 { left: 65%; animation-delay: 3.25s; animation-duration: 9s; background: rgba(0, 255, 255, 0.3); }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 6s ease-in-out infinite;
}

.orb1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.3) 0%, transparent 70%);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.robot-icon {
    width: 120px;
    height: 120px;
    background: url(../images/robo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.3);
    animation: fadeInUp 1s ease, pulse 2s infinite 1s, glow 3s infinite alternate 1s;
    transition: transform 0.3s ease;
}

.robot-icon:hover {
    transform: scale(1.1) rotate(5deg);
    animation: bounce 0.6s ease;
}


.main-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffa726, #ff7043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.3s both;
}

.subtitle {
    font-size: 18px;
    color: #b0bec5;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.6s both;
}

.analysis-box {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInFromLeft 1s ease 0.9s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analysis-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.accuracy-stat {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 15px;
}

.description {
    font-size: 14px;
    color: #90a4ae;
    line-height: 1.8;
    margin-bottom: 20px;
}

.user-count {
    font-size: 16px;
    color: #ffa726;
    font-weight: bold;
}

.input-section {
    margin-bottom: 30px;
    animation: slideInFromRight 1s ease 1.2s both;
}

.stock-input {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stock-input:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.stock-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.analyze-btn {
    display: block;
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #00bcd4, #2196f3);
    border: none;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.analyze-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.6);
}

.analyze-btn:hover::before {
    left: 100%;
}

.analyze-btn:active {
    transform: translateY(0);
}



.progress-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: #00bcd4;
}

.progress-item {
    margin-bottom: 20px;
    text-align: left;
}

.progress-label {
    font-size: 14px;
    color: #b0bec5;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bcd4, #4caf50);
    border-radius: 3px;
    width: 0%;
    transition: width 0.8s ease;
}



.line-btn {
    display: inline-flex;
    align-items: center;
    background: #06c755;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

.line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.4);
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-link {
    color: #64b5f6;
    text-decoration: none;
    font-size: 12px;
}

.company-info {
    font-size: 12px;
    color: #78909c;
    line-height: 1.4;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 188, 212, 0.6), 
                   0 0 60px rgba(0, 188, 212, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal:target {
    display: block;
}

.modal:target .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 24px;
    color: #00bcd4;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-body {
    color: #e2e8f0;
    line-height: 1.6;
}

.modal-body h3 {
    color: #00bcd4;
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-body h4 {
    color: #64b5f6;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.modal-body ul {
    margin: 10px 0 15px 20px;
}

.modal-body li {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.modal-body p {
    margin-bottom: 15px;
    color: #e2e8f0;
}

.progress-container-modal {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-container-modal {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Analysis Modal Styles */
.analysis-modal {
    background-color: rgba(0, 0, 0, 0.9);
}

.analysis-content {
    max-width: 500px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
}

.analysis-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.analysis-title {
    font-size: 22px;
    color: #00bcd4;
    margin: 0;
}

.analysis-body {
    text-align: left;
}

.analysis-result {
    opacity: 0;
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: showAnalysisResult 0.5s ease 3.2s forwards;
}

.analysis-result .result-title {
    font-size: 20px;
    color: #4caf50;
    margin-bottom: 15px;
}

.analysis-result .result-description {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.analysis-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.get-report-btn {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.get-report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.close-analysis-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-analysis-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Progress bar animations */
@keyframes progress-fill1 {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes progress-fill2 {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes progress-fill3 {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes progress-fill4 {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes showAnalysisResult {
    to {
        opacity: 1;
    }
}



/* Cookie Consent Banner Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 20px;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-message {
    flex: 1;
    color: #e2e8f0;
}

.cookie-message p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-detail {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.accept-btn {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.decline-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.decline-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
        max-height: 80vh;
    }

    .modal-title {
        font-size: 20px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}
