/* AudioGrab Theme - Red, Silver, Black with Blue-shaded Silver */

:root {
    /* AudioGrab Color Palette - Updated to match index */
    --primary-color: #edeed1; /* Bright yellow for tech feel */
    --secondary-color: #b4ddff; /* Bright red accent */
    --accent-color: #5a7fff; /* Purple-blue accent */
    --accent-secondary: #ff7f50; /* Coral accent */
    --bg-color: #0a0a0a; /* Dark background */
    --text-color: #FFF5EE;
    --text-dim: rgba(255, 245, 238, 0.7); /* Dimmed text color */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-subtle: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: 0 0 15px var(--primary-color);
    
    /* Typography */
    --font-heading: 'Orbitron', monospace;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 50px;
}

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

/* Hero Section Styles */
.hero {
    text-align: center;
    /*padding: 2rem 0 1rem;*/
    /*min-height: 60vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.hero-content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    max-width: 1000px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.hero-image {
    flex: 0 0 auto;
    text-align: center;
}

.app-icon {
    width: 256px;
    height: 256px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.hero-text {
    flex: 0.6;
    max-width: 500px;
    text-align: left;
}

.hero-text .silver-text {
    text-align: left !important;
    margin: 0;
}

.hero-text .silver-text:last-child {
    margin-top: 0.5rem !important;
}

.hero-download-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .hero-content-row {
        gap: var(--spacing-md);
        max-width: 900px;
    }

    .app-icon {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero {
        /*padding: 1.5rem 0 1rem;*/
        gap: var(--spacing-sm);
        /*min-height: 50vh;*/
    }

    .hero-content-row {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text .silver-text {
        text-align: center !important;
    }

    .app-icon {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero {
        /*padding: 1rem 0 0.5rem;**/
        min-height: 40vh;
    }

    .app-icon {
        width: 150px;
        height: 150px;
    }
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-color) 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.98), 
        rgba(20, 20, 20, 0.95),
        rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, 
        var(--primary-color), 
        rgba(212, 212, 212, 0.3), 
        var(--primary-color)) 1;
    box-shadow: 
        var(--border-glow),
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.9;
}

nav a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 8px var(--primary-color);
}

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

nav a:hover::after {
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Mobile Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 40px;
    padding: var(--spacing-md);
    min-height: 100vh;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: 2px;
    /*background: linear-gradient(45deg,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color));*/
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
    text-shadow:
        0 0 30px var(--primary-color),
        0 4px 8px rgba(0, 0, 0, 0.5);
}

h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 1px;
}

h3:first-of-type {
    margin-top: 0;
}

p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
}

strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Cards and Sections */
.card, section {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-md);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--border-glow);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--card-bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* AudioGrab Specific Components */
.recording-button {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid;
    border-image: linear-gradient(45deg, #e8e8e8, #c0c0c0, #a8a8a8, #c0c0c0) 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px var(--primary-color),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.recording-button:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 40px var(--primary-color),
        0 12px 24px rgba(0, 0, 0, 0.5),
        inset 0 4px 8px rgba(255, 255, 255, 0.5),
        inset 0 -4px 8px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.recording-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid var(--text-color);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.recording-button.recording {
    background: var(--accent-secondary);
    animation: pulse 1s infinite;
}

.recording-button.recording::before {
    width: 20px;
    height: 20px;
    background: var(--text-color);
    border: none;
    border-radius: 2px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px var(--primary-color); }
    50% { box-shadow: 0 0 40px var(--primary-color); }
    100% { box-shadow: 0 0 20px var(--primary-color); }
}

.audio-visualizer {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100px;
    gap: 3px;
    margin: var(--spacing-md) 0;
}

.audio-bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: audioWave 1.5s ease-in-out infinite;
}

.audio-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.audio-bar:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.audio-bar:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 80px; animation-delay: 0.3s; }
.audio-bar:nth-child(5) { height: 100px; animation-delay: 0.4s; }
.audio-bar:nth-child(6) { height: 80px; animation-delay: 0.5s; }
.audio-bar:nth-child(7) { height: 60px; animation-delay: 0.6s; }
.audio-bar:nth-child(8) { height: 40px; animation-delay: 0.7s; }
.audio-bar:nth-child(9) { height: 20px; animation-delay: 0.8s; }

@keyframes audioWave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(45deg,
        var(--accent-color),
        #3388dd,
        var(--primary-color));
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-xl);
    font-weight: bold;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(51, 136, 221, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 25px var(--primary-color),
        0 8px 16px rgba(0, 0, 0, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.35),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: linear-gradient(45deg,
        var(--accent-color),
        #3388dd,
        var(--primary-color));
}

.secondary-button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(212, 212, 212, 0.1), rgba(212, 212, 212, 0.05));
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: bold;
    font-family: var(--font-heading);
    transition: all 0.3s ease;    
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.secondary-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), #a8a8a8);
    color: var(--bg-color);
    transform: scale(1.05);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 var(--spacing-md) 2rem;
    color: rgba(255, 255, 255, 0.9);
}

li {
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm);
    background: var(--card-bg-subtle);
    border-left: 4px solid var(--secondary-color);
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(0, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 1.5rem;
    margin: var(--spacing-md) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* AudioGrab Section Styles */
.app-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--border-glow);
    margin: var(--spacing-xl) 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature {
    background: var(--card-bg-subtle);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-intro {
    margin-bottom: var(--spacing-xl);
}

.download-section {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Motivation Section */
#motivation {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-md);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--border-glow);
}

#motivation .motivation-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8),
        rgba(20, 20, 20, 0.7),
        rgba(0, 0, 0, 0.8));
    margin-top: var(--spacing-xl);
    border-top: 2px solid;
    border-image: linear-gradient(90deg,
        var(--primary-color),
        rgba(212, 212, 212, 0.3),
        var(--primary-color)) 1;
    box-shadow:
        0 -2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.silver-text {
    color: var(--text-dim);
}

.red-text {
    color: var(--primary-color);
}

/* Animations */
@keyframes glow {
    from { text-shadow: 0 0 20px var(--primary-color); }
    to { text-shadow: 0 0 30px var(--accent-color); }
}

@keyframes letter-glow {
    0%, 40% {
        text-shadow: 0 0 2px var(--text-color), 0 0 4px var(--text-color);
    }
    49.9%, 50% {
        text-shadow: 0 0 4px var(--primary-color), 0 0 8px var(--primary-color), 0 0 4px var(--primary-color);
    }
    50%, 100% {
        text-shadow: 0 0 2px var(--text-color), 0 0 4px var(--text-color);
    }
}

.letter {
    color: var(--text-color);
    animation: letter-glow 6s ease-in-out infinite;
    animation-fill-mode: both;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 0 var(--spacing-md);
    }

    .language-selector {
        order: -1;
        margin-right: var(--spacing-sm);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        margin: var(--spacing-sm) 0;
        padding: var(--spacing-sm) var(--spacing-lg);
        width: 100%;
        text-align: center;
        border-radius: 0;
    }

    .hamburger {
        display: flex;
    }

    .container {
        padding: var(--spacing-md) 1.5rem;
        margin: 0 var(--spacing-sm);
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }

    .app-card {
        padding: var(--spacing-lg);
    }

    .feature {
        padding: var(--spacing-md);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    main {
        padding: var(--spacing-xs);
    }

    @media (max-width: 480px) {
        main {
            padding: 0.25rem;
        }
    }

    .logo {
        margin-right: 0;
        margin-bottom: 0;
    }

    .recording-button {
        width: 60px;
        height: 60px;
    }

    .recording-button::before {
        border-left-width: 15px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem var(--spacing-sm);
    }

    .features {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
        margin: 0 var(--spacing-xs);
    }

    h2 {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
}
