/* CSS Variables for Dark Mode Theme */
:root {
    --bg-primary: #0a0a1f;
    --bg-secondary: #141428;
    --bg-tertiary: #1e1e3f;
    --bg-card: #1a1a35;
    --bg-card-hover: #242447;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #06b6d4;
    --accent-gradient-start: #6366f1;
    --accent-gradient-end: #8b5cf6;

    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border-color: rgba(99, 102, 241, 0.3);
    --border-hover: rgba(99, 102, 241, 0.6);

    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.1);
    --shadow-md: 0 4px 16px rgba(99, 102, 241, 0.15);
    --shadow-lg: 0 8px 32px rgba(99, 102, 241, 0.2);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    flex-grow: 1;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    text-shadow: none;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent-tertiary);
    text-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

p {
    margin-bottom: 20px;
}

/* Responsive images and video */
img, .mission-video {
    max-width: 100%;
    height: auto;
}

.service-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
}

.service-image:hover {
    transform: scale(1.03);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.mission-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Buy button styles */
.buy-button {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
}

.buy-button:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #ffffff;
}

/* Services section */
.services {
    margin-bottom: 40px;
}

.service {
    margin-bottom: 40px;
    padding: 30px;
    padding-bottom: 30px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service:last-child {
    border-bottom: 1px solid var(--border-color);
}

.service p, .service ul {
    margin-bottom: 20px;
}

.service p:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-tertiary);
    margin-bottom: 15px;
}

.arrow-list {
    list-style-type: none;
    padding-left: 0;
}

.arrow-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.arrow-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent-tertiary);
}

.version {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-right: 10px;
    box-shadow: var(--shadow-sm);
}

/* New Label */
.new-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-primary) 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--shadow-sm);
    }
    50% {
        box-shadow: var(--shadow-glow);
    }
}

/* Mission Section */
.mission {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* Pricing Section */
.pricing {
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pricing h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-tertiary);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-list {
    list-style: none;
    padding: 0;
}

.pricing-list li {
    padding: 15px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.pricing-list li:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.pricing-list strong {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Likes Section */
.likes {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.like-count {
    color: var(--accent-tertiary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spacer {
    flex-grow: 1;
}

/* Chatbot demo styles */
.chatbot-demo {
    margin-top: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.chatbot-demo h2 {
    color: var(--accent-tertiary);
    margin-bottom: 20px;
    text-align: center;
}

.chatbot-info {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.chat-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    box-shadow: var(--shadow-md);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar {
    font-size: 24px;
    margin-right: 10px;
}

.message-text {
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 70%;
    border: 1px solid var(--border-color);
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    border: none;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--border-color);
}

#userInput {
    flex-grow: 1;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    padding: 15px;
    font-size: 16px;
}

#userInput::placeholder {
    color: var(--text-muted);
}

#sendButton {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-primary) 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

#sendButton:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 100%);
    transform: scale(1.02);
}

#sendButton:disabled {
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* WhatsApp floating button styles */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 50px;
    left: 50px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    font-size: 30px;
    z-index: 1000;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
    color: #FFF;
}

/* Footer styles */
footer {
    background: var(--bg-card);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(99, 102, 241, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

footer a {
    color: var(--accent-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-primary);
}

.social-icons a {
    color: var(--text-primary);
    font-size: 32px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-tertiary);
    transform: scale(1.1);
}

/* TikTok icon styles */
.fa-tiktok {
    color: var(--text-primary);
}

.fa-tiktok:hover {
    color: var(--accent-tertiary);
}

/* White sphere animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.circular-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--accent-tertiary);
    box-shadow: var(--shadow-glow);
    animation: pulse 1s infinite ease-in-out;
}

.white-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
}

.after-footer-image {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: block;
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .service {
        width: 100%;
    }
    
    .mission h2 {
        font-size: 2.4rem;
    }

    .whatsapp-float {
        bottom: 30px;
        left: 20px;
    }

    .circular-image-container {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .chat-container {
        width: 100%;
    }

    .circular-image-container {
        width: 180px;
        height: 180px;
    }
}

/* Scroll-triggered content appearance */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* iOS Apps Showcase Section */
.ios-apps-showcase {
    margin-top: 30px;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.ios-apps-showcase h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-tertiary);
    text-align: center;
    margin-bottom: 15px;
}

.showcase-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.app-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
}

.app-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-hover);
}

.app-icon:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    border-color: var(--accent-primary);
}

.app-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 15px;
    margin-bottom: 8px;
}

.app-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .ios-apps-showcase h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .app-icon {
        width: 120px;
        height: 120px;
    }
}

/* Blog Section */
.blog-section {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--border-hover);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.blog-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.blog-section h3 i {
    margin-right: 15px;
    color: var(--accent-tertiary);
    -webkit-text-fill-color: var(--accent-tertiary);
}

.blog-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.blog-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.blog-button:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.blog-button i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .blog-section {
        padding: 30px 20px;
    }
    
    .blog-section h3 {
        font-size: 1.8rem;
    }
    
    .blog-section p {
        font-size: 1rem;
    }
    
    .blog-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-section h3 {
        font-size: 1.5rem;
    }
    
    .blog-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
