/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00D9FF;
    --secondary-color: #4DD0E1;
    --accent-color: #80DEEA;
    --ice-glow: #00F5FF;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(0, 217, 255, 0.2);
    --glass-shadow: rgba(0, 245, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(0, 217, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%),
                radial-gradient(ellipse at bottom, rgba(77, 208, 225, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glass Morphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, 
                                rgba(0, 217, 255, 0.3) 0%, 
                                rgba(0, 217, 255, 0) 50%, 
                                rgba(128, 222, 234, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.2),
                0 0 60px rgba(0, 217, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass:hover::before {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 20px;
    margin: 20px 40px;
    max-width: 1200px;
    border-radius: 20px;
    padding: 15px 30px;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8))
            drop-shadow(0 0 40px rgba(0, 217, 255, 0.6))
            drop-shadow(0 2px 8px rgba(0, 245, 255, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8))
                drop-shadow(0 0 40px rgba(0, 217, 255, 0.6))
                drop-shadow(0 2px 8px rgba(0, 245, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 245, 255, 1))
                drop-shadow(0 0 60px rgba(0, 217, 255, 0.8))
                drop-shadow(0 2px 12px rgba(0, 245, 255, 0.6));
    }
}

/* Logo will use the actual logo.png file */

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px var(--ice-glow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    margin-top: -80px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--ice-glow) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 300;
}

/* Apps Section */
.apps-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
}

.app-icon-container {
    margin-bottom: 24px;
}

.app-icon-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, 
                                rgba(0, 217, 255, 0.2) 0%, 
                                rgba(77, 208, 225, 0.3) 50%,
                                rgba(0, 217, 255, 0.2) 100%);
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.4),
                0 0 40px rgba(0, 217, 255, 0.2),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.app-icon-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
                                transparent 30%, 
                                rgba(255, 255, 255, 0.1) 50%, 
                                transparent 70%);
    animation: refraction 3s linear infinite;
}

@keyframes refraction {
    0% {
        transform: rotate(0deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(360deg) translate(-50%, -50%);
    }
}

.icon-text {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.8),
                 0 0 40px rgba(0, 217, 255, 0.6);
    position: relative;
    z-index: 1;
}

.app-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-category {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-store-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.privacy-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}

.privacy-link:hover {
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content {
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 12px;
    font-weight: 700;
}

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

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.4),
                0 0 40px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 245, 255, 0.6),
                0 0 60px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 245, 255, 0.8);
}

/* Privacy Policy Page */
.privacy-page {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-container {
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.privacy-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.app-name-header {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.contact-info p {
    margin-bottom: 4px;
}

.contact-link-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link-text a:hover {
    color: var(--secondary-color);
}

.privacy-footer {
    text-align: center;
    padding-top: 30px;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-3px);
}

/* Contact Page */
.contact-page {
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form {
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 1px solid rgba(0, 217, 255, 0.5);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.4),
                0 0 40px rgba(0, 217, 255, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 245, 255, 0.6),
                0 0 60px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 245, 255, 0.8);
}

.submit-button:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: rgba(52, 199, 89, 0.2);
    border: 1px solid rgba(52, 199, 89, 0.4);
    color: #34C759;
    display: block;
}

.form-status.error {
    background: rgba(255, 69, 58, 0.2);
    border: 1px solid rgba(255, 69, 58, 0.4);
    color: #FF453A;
    display: block;
}

.contact-info-section {
    padding-top: 40px;
}

.contact-info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.company-details {
    text-align: center;
    color: var(--text-secondary);
}

.company-details p {
    margin-bottom: 4px;
}

/* Footer */
.footer {
    margin: 40px 20px 20px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-address {
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        margin: 10px;
        padding: 12px 20px;
        top: 10px;
    }

    .nav-content {
        flex-direction: row !important;
        gap: 0 !important;
    }

    .logo-container {
        flex-direction: row !important;
    }

    .nav-links {
        gap: 15px;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .logo {
        width: 32px;
        height: 32px;
    }

    .email-text {
        font-size: 1rem !important;
        word-break: break-all;
    }

    .hero {
        padding: 20px;
        min-height: 90vh;
        margin-top: -60px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .apps-section {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .app-card {
        padding: 25px 20px;
    }

    .app-name {
        font-size: 1.5rem;
    }

    .app-description {
        font-size: 0.95rem;
    }

    .privacy-container,
    .contact-container {
        padding: 25px 15px;
    }

    .privacy-header h1,
    .contact-header h1 {
        font-size: 1.8rem !important;
    }

    .privacy-section h2 {
        font-size: 1.3rem !important;
    }

    .privacy-section p {
        font-size: 0.95rem;
    }

    .cta-content {
        padding: 35px 25px;
    }

    .cta-title {
        font-size: 1.5rem !important;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .footer {
        margin: 20px 10px 10px;
        padding: 20px;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 0.85rem;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .app-icon-placeholder {
        width: 80px;
        height: 80px;
    }

    .icon-text {
        font-size: 2.5rem;
    }

    .email-text {
        font-size: 0.85rem !important;
        padding: 0 5px;
    }

    .email-copy-box {
        padding: 15px !important;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .navbar {
        margin: 10px 5px;
        padding: 10px 15px;
    }

    .section-title {
        font-size: 1.8rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: var(--text-primary);
}

/* Disable hover effect for specific elements */
.no-hover:hover {
    background: var(--glass-bg) !important;
    border-color: var(--glass-border) !important;
    transform: none !important;
    box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.no-hover:hover::before {
    opacity: 0 !important;
}

/* Additional Glow Effects */
.app-card:hover {
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.15),
                0 0 60px rgba(0, 217, 255, 0.1);
}

.contact-info {
    background: rgba(0, 217, 255, 0.03) !important;
}

.form-input:focus {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2),
                inset 0 1px 3px rgba(0, 245, 255, 0.1);
}
