/* main.css - ThinkBubble AI Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    width: 50px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: #2ae6ff;
}

.cta-button {
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    color: white;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(3, 124, 199, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-cta {
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(3, 124, 199, 0.5);
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(3, 124, 199, 0.2) 0%, rgba(42, 230, 255, 0.2) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(42, 230, 255, 0.3);
}

.bubble-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.bubble-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation: float 6s ease-in-out infinite 1s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

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

/* Vision Section */
.vision-section {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.vision-container {
    max-width: 900px;
    margin: 0 auto;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: center;
}

/* Capabilities Section */
.capabilities {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.capability-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 124, 199, 0.3);
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.capability-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Infrastructure Section */
.infrastructure-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(3, 124, 199, 0.1) 0%, rgba(42, 230, 255, 0.1) 100%);
}

.infrastructure-container {
    max-width: 900px;
    margin: 0 auto;
}

.infrastructure-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: center;
    margin-bottom: 2rem;
}

.infrastructure-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 124, 199, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(3, 124, 199, 0.1) 0%, rgba(42, 230, 255, 0.1) 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.stat.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 2rem 2rem 6rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2ae6ff;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-button {
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(3, 124, 199, 0.4);
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #2ae6ff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(42, 230, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-link img[src*="github"] {
    filter: brightness(0) invert(1);
}

.footer-copyright {
    text-align: center;
    color: #666;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Technology Page Styles */
.tech-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem;
}

.tech-hero-container {
    max-width: 900px;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 124, 199, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #2ae6ff;
}

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

.service-list li {
    color: #b0b0b0;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2ae6ff;
}

/* Architecture Section */
.architecture-section {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.architecture-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #d0d0d0;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.architecture-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(42, 230, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.architecture-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.architecture-card:hover {
    border-color: #2ae6ff;
    box-shadow: 0 10px 30px rgba(3, 124, 199, 0.3);
}

.architecture-card h3 {
    font-size: 1.3rem;
    color: #2ae6ff;
    margin-bottom: 1rem;
}

.architecture-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Infrastructure Details Section */
.infra-details-section {
    padding: 4rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.infra-card {
    background: linear-gradient(135deg, rgba(3, 124, 199, 0.1) 0%, rgba(42, 230, 255, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.infra-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.infra-card:hover {
    transform: translateY(-5px);
    border-color: rgba(42, 230, 255, 0.4);
    box-shadow: 0 15px 35px rgba(3, 124, 199, 0.3);
}

.infra-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.infra-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 2rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 124, 199, 0.3);
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

.project-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    min-height: 150px;
}

.project-logo {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-content h3 {
    font-size: 1.8rem;
    color: #2ae6ff;
    margin-bottom: 1rem;
    text-align: center;
}

.project-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-arrow {
    color: #2ae6ff;
    font-size: 1.5rem;
    transition: transform 0.3s;
    display: inline-block;
}

.project-card:hover .project-arrow {
    transform: translateX(10px);
}

/* Contact Page Styles */
.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

/* Thank You Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.modal-active {
    opacity: 1;
}

.thank-you-modal {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(3, 124, 199, 0.1) 100%);
    border: 1px solid rgba(42, 230, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(3, 124, 199, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-backdrop.modal-active .thank-you-modal {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-title {
    font-size: 2rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.thank-you-message {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-btn {
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.thank-you-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(3, 124, 199, 0.4);
}

/* Legal Pages */
.legal-section {
    min-height: 70vh;
    padding: 8rem 2rem 4rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #037cc7 0%, #2ae6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.legal-content {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    color: #2ae6ff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 35px;
        height: 28px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cta-button {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-menu.mobile-menu-open {
        display: flex;
    }
    
    .nav-menu li {
        opacity: 0;
        animation: fadeInUp 0.5s ease-out forwards;
    }
    
    .nav-menu.mobile-menu-open li:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .nav-menu.mobile-menu-open li:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .nav-menu.mobile-menu-open li:nth-child(3) {
        animation-delay: 0.3s;
    }
    
    .nav-menu.mobile-menu-open li:nth-child(4) {
        animation-delay: 0.4s;
    }
    
    .nav-link {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .capabilities-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-text,
    .infrastructure-text {
        font-size: 1rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
}