/* Base styles */
:root {
    --primary-color: #0a1930;
    --secondary-color: #1e3a8a;
    --accent-color: #3b82f6;
    --hover-color: #60a5fa;
    --text-light: #f3f4f6;
    --text-dark: #1f2937;
    --card-bg: rgba(30, 58, 138, 0.2);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

/* Header */
.header-container {
    background: rgba(10, 25, 48, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container.scrolled {
    background: rgba(10, 25, 48, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0;
}

header {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 10;
    transition: padding 0.3s ease;
}

.logo-container {
    max-width: 220px;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0 0;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, max-width 0.3s ease;
    position: relative;
    overflow: visible;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(59, 130, 246, 0) 70%
    );
    animation: pulse 6s ease-in-out infinite;
    z-index: -1;
}

.logo-container:hover {
    transform: translateY(-3px);
}

.logo-container:hover::before {
    animation: pulse 3s ease-in-out infinite;
}

.logo {
    width: 90%;
    height: auto;
    transition: all 0.5s ease;
}

.logo.scrolled {
    transform: scale(0.95);
}

.logo-container:hover .logo {
    filter: brightness(1.1);
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--hover-color);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 9rem 0 5rem;
    text-align: center;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.3) 0%, rgba(10, 25, 48, 0.6) 70%);
    z-index: -1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Apps Section */
.apps {
    padding: 5rem 0;
    background: rgba(10, 25, 48, 0.8);
}

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

.app-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-icon img {
    width: 100%;
    height: auto;
}

.app-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.app-button {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.app-button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    text-align: center;
    background: rgba(10, 25, 48, 0.5);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    background-color: var(--accent-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1.5rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .app-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
} 
