/* Frequency Studio - Shared Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(34, 139, 34, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 300;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gentleGlow {
    from { filter: drop-shadow(0 0 15px rgba(34, 139, 34, 0.3)); }
    to { filter: drop-shadow(0 0 25px rgba(139, 69, 19, 0.4)); }
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1) translateY(0px);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.02) translateY(-10px);
        opacity: 0.6;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(ellipse at center, rgba(34, 139, 34, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 69, 19, 0.03) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 139, 34, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
    animation: breathe 8s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(45deg, #8B4513, #228B22, #DAA520, #8B4513);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: gradientShift 6s ease-in-out infinite, gentleGlow 4s ease-in-out infinite alternate;
    font-weight: 200;
    letter-spacing: -2px;
}

.hero h1.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    opacity: 0.8;
    margin-bottom: 40px;
    font-weight: 300;
    color: #D2B48C;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Sections */
.section {
    background: rgba(139, 69, 19, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(139, 69, 19, 0.15);
    transition: all 0.4s ease;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.section h2 {
    color: #DAA520;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.3);
    font-weight: 300;
    text-align: center;
}

.section h3 {
    color: #D2B48C;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    font-weight: 300;
}

.section p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.section ul, .section ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.section li {
    margin: 8px 0;
    opacity: 0.9;
}

/* Frequencies Showcase */
.frequencies-showcase {
    background: rgba(139, 69, 19, 0.05);
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
}

.frequencies-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.frequencies-showcase h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
    background: linear-gradient(45deg, #8B4513, #228B22, #DAA520, #8B4513);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 200;
    letter-spacing: -1px;
    animation: gradientShift 6s ease-in-out infinite, gentleGlow 4s ease-in-out infinite alternate;
    color: transparent !important;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(139, 69, 19, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(139, 69, 19, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1), rgba(139, 69, 19, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #DAA520;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.feature-card p {
    opacity: 0.8;
    color: #D2B48C;
    position: relative;
    z-index: 2;
}

/* Buttons */
.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
    color: #e8e8e8;
    padding: 18px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a5a5a, #6a6a6a);
}

.back-button {
    display: block;
    background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
    color: #e8e8e8;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 300;
    margin: 0 auto 30px auto;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a5a5a, #6a6a6a);
}

.back-button::before {
    content: '← ';
    margin-right: 8px;
}

/* Navigation */
.nav-menu {
    background: rgba(139, 69, 19, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.nav-menu h3 {
    color: #DAA520;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.nav-item {
    background: rgba(34, 139, 34, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(34, 139, 34, 0.3);
    text-decoration: none;
    color: #e8e8e8;
    font-size: 0.9rem;
}

.nav-item:hover {
    background: rgba(34, 139, 34, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.3);
}

/* Special Elements */
.highlight {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(34, 139, 34, 0.1));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(139, 69, 19, 0.3);
    margin: 20px 0;
}

.highlight h4 {
    color: #DAA520;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-info {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(34, 139, 34, 0.1));
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(139, 69, 19, 0.3);
    text-align: center;
    margin-top: 30px;
}

.contact-info h3 {
    color: #DAA520;
    margin-bottom: 15px;
    font-weight: 300;
}

.contact-info a {
    color: #DAA520;
    text-decoration: none;
    font-weight: 400;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container { padding: 10px; }
    .section { padding: 20px; }
    .hero { padding: 40px 20px; }
    .features-grid { 
        grid-template-columns: 1fr;
        margin: 50px auto;
    }
    .feature-card { padding: 30px; }
    .nav-grid { grid-template-columns: 1fr; }
    .frequencies-showcase { padding: 50px 20px; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* App Preview & Phone Mockup */
.app-preview {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 25px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.rotating-earth-overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
}

.rotating-earth-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
    color: #e8e8e8;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a5a5a, #6a6a6a);
}

/* Frequency Grid for FAQ */
.frequency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.frequency {
    background: rgba(139, 69, 19, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.frequency:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.frequency-hz {
    font-size: 1.2rem;
    font-weight: 400;
    color: #DAA520;
    margin-bottom: 10px;
}

.frequency-hz.color-green {
    color: #228B22;
}

.frequency-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Preset Styling */
.preset {
    background: rgba(139, 69, 19, 0.05);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.preset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
}

.preset h4 {
    color: #DAA520;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 300;
}

.preset ul {
    padding-left: 20px;
}

.preset li {
    margin: 8px 0;
    opacity: 0.9;
}

/* Warning Box */
.warning {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Steps */
.steps {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.step {
    background: rgba(139, 69, 19, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.step strong {
    color: #DAA520;
    font-weight: 400;
}

/* Controls Visual */
.controls-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.control-item {
    text-align: center;
    padding: 15px;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.control-visual {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-blue {
    background: #00BFFF;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.control-silver {
    background: #C0C0C0;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.control-red {
    background: #FF4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    animation: pulse 2s infinite;
}

.control-yellow {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

/* Color Classes */
.color-green { color: #228B22 !important; }
.color-purple { color: #9370DB !important; }
.color-orange { color: #FF8C00 !important; }
.color-blue { color: #00BFFF !important; }

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 40px;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(34, 139, 34, 0.6);
    border-radius: 50%;
    animation: float 8s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}
