/* style.css - Arnaldo AT Landing Page */

:root {
    /* Color Palette - Premium Dark Mode */
    --bg-dark: #07070a;
    --bg-surface: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Accents */
    --accent-cyan: #00f3ff;
    --accent-purple: #b026ff;
    --text-main: #f0f0f5;
    --text-muted: #9aa0a6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-neural: linear-gradient(135deg, #ff2a5f, #ff7e40);
    
    /* Layout Details */
    --max-width: 1200px;
    --nav-height: 80px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Common Layout */
.section-padding {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

.btn-neural {
    background: var(--gradient-neural);
    box-shadow: 0 4px 15px rgba(255, 42, 95, 0.3);
}

.btn-neural:hover {
    box-shadow: 0 6px 20px rgba(255, 42, 95, 0.5);
}

/* --------- Navigation --------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px; /* if it's a square logo, softens edges */
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* --------- Hero Section --------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    margin-top: var(--nav-height); /* Offset for fixed nav */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Abstract tech/music background */
    background: 
        radial-gradient(circle at 10% 20%, rgba(176, 38, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.greeting {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.main-title {
    font-size: 5rem;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 25px;
    min-height: 40px; /* Space for typewriter */
}

.description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.glow-ring {
    position: absolute;
    width: 110%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
    filter: blur(40px);
    opacity: 0.3;
    animation: spin 10s linear infinite;
    z-index: 1;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* --------- About Section --------- */
.about-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    transition: transform 0.5s ease;
}

.about-image-card:hover img {
    transform: scale(1.05);
}

.about-text-content .glass-panel {
    padding: 40px;
}

.about-text-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.about-text-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.skill-item span {
    font-weight: 600;
    font-family: var(--font-heading);
}

.skill-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    border-color: rgba(0, 243, 255, 0.3);
}

/* --------- Ecosystem Section --------- */
.cards-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.app-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-10px);
}

/* Subtle glow effect on hover for cards */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card.neural-theme::before {
    background: var(--gradient-neural);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
}

.neural-theme .app-icon {
    color: #ff2a5f;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.badge.educational {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.badge.production {
    background: rgba(255, 42, 95, 0.1);
    color: #ff2a5f;
    border: 1px solid rgba(255, 42, 95, 0.2);
}

.app-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.app-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.feature-list i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

.neural-theme .feature-list i {
    color: #ff2a5f;
}

/* --------- Footer --------- */
footer {
    background: #040406;
    padding: 60px 5% 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    border-radius: 8px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --------- Responsive Design --------- */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* --------- Auth Modal --------- */
.btn-signin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan) !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-signin:hover {
    background: var(--accent-cyan);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-surface);
    padding: 40px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #fff;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--accent-cyan);
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.modal-footer p {
    margin-bottom: 0;
}

.modal-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}
