/* 
* AlgoSwift Coming Soon Page
* Modern, responsive and animated design with Indian-inspired elements
*/

/* Reset and Base Styles */
:root {
    --primary-color: #3D52A0;      /* Dark blue */
    --secondary-color: #555555;    /* Dark neutral */
    --accent-color: #7091E6;       /* Light blue */
    --light-color: #FFFFFF;        /* White */
    --dark-color: #2A2A2A;         /* Dark background */
    --neutral-color: #ADBBDA;      /* Light blue-grey */
    --font-primary: 'Poppins', sans-serif;
    --font-logo: 'Yatra One', cursive;    /* Indian-inspired font */
    --icon-color-1: rgba(61, 82, 160, 0.3);   /* Dark blue */
    --icon-color-2: rgba(112, 145, 230, 0.3);   /* Light blue */
    --icon-color-3: rgba(134, 151, 196, 0.3);   /* Medium blue */
    --icon-color-4: rgba(173, 187, 218, 0.3);   /* Light blue-grey */
    --icon-color-5: rgba(237, 232, 245, 0.3);   /* Very light purple */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-primary);
    color: var(--secondary-color);
    background: radial-gradient(circle at center, #fff 0%, #EDE8F5 70%, #ADBBDA 100%);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Tech Icons Background - Optimize for better performance */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    /* Reduce painting by making container not visible to hit testing */
    contain: layout style paint;
}

.tech-icon {
    position: absolute;
    opacity: 0.08; /* Reduced opacity for better performance */
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 3px rgba(147, 112, 219, 0.2)); /* Lighter shadow */
    /* Add will-change for icons that will animate */
    will-change: transform;
}

/* Programming Languages and Technologies with Brand Colors */
.fa-brands.fa-js {
    color: #F7DF1E;
    top: 10%;
    left: 5%;
    font-size: 35px;
}

.fa-brands.fa-python {
    color: #3776AB;
    top: 15%;
    left: 15%;
    font-size: 38px;
}

.fa-brands.fa-java {
    color: #007396;
    top: 20%;
    left: 25%;
    font-size: 32px;
}

.fa-brands.fa-php {
    color: #777BB4;
    top: 8%;
    left: 35%;
    font-size: 30px;
}

.fa-brands.fa-swift {
    color: #FA7343;
    top: 12%;
    left: 48%;
    font-size: 33px;
}

.fa-brands.fa-cuttlefish {
    color: #00599C;
    top: 18%;
    left: 60%;
    font-size: 28px;
}

.fa-brands.fa-html5 {
    color: #E34F26;
    top: 10%;
    left: 75%;
    font-size: 36px;
}

.fa-brands.fa-css3-alt {
    color: #1572B6;
    top: 15%;
    left: 85%;
    font-size: 34px;
}

/* Frameworks and Libraries */
.fa-brands.fa-react {
    color: #61DAFB;
    top: 30%;
    right: 5%;
    font-size: 40px;
}

.fa-brands.fa-angular {
    color: #DD0031;
    top: 40%;
    right: 10%;
    font-size: 36px;
}

.fa-brands.fa-vuejs {
    color: #4FC08D;
    top: 50%;
    right: 15%;
    font-size: 38px;
}

.fa-brands.fa-node-js {
    color: #339933;
    top: 60%;
    right: 8%;
    font-size: 36px;
}

.fa-brands.fa-laravel {
    color: #FF2D20;
    top: 70%;
    right: 12%;
    font-size: 32px;
}

.fa-brands.fa-django {
    color: #092E20;
    top: 80%;
    right: 6%;
    font-size: 34px;
}

.fa-brands.fa-bootstrap {
    color: #7952B3;
    top: 90%;
    right: 15%;
    font-size: 30px;
}

/* Databases and Backend */
.fa-solid.fa-database {
    color: #4DB33D; /* MongoDB green */
    bottom: 15%;
    left: 10%;
    font-size: 35px;
}

.fa-solid.fa-server {
    color: #000000; /* Express.js */
    bottom: 25%;
    left: 20%;
    font-size: 32px;
}

.fa-solid.fa-cloud {
    color: #4285F4; /* Cloud blue */
    bottom: 35%;
    left: 30%;
    font-size: 38px;
}

.fa-solid.fa-network-wired {
    color: #0067B1; /* Network blue */
    bottom: 45%;
    left: 15%;
    font-size: 30px;
}

/* Tools and Technologies */
.fa-brands.fa-aws {
    color: #FF9900;
    bottom: 55%;
    left: 5%;
    font-size: 34px;
}

.fa-brands.fa-docker {
    color: #2496ED;
    bottom: 65%;
    left: 12%;
    font-size: 36px;
}

.fa-brands.fa-github {
    color: #181717;
    bottom: 75%;
    left: 8%;
    font-size: 30px;
}

.fa-brands.fa-git-alt {
    color: #F05032;
    bottom: 85%;
    left: 18%;
    font-size: 28px;
}

.fa-brands.fa-npm {
    color: #CB3837;
    bottom: 15%;
    left: 40%;
    font-size: 32px;
}

.fa-brands.fa-yarn {
    color: #2C8EBB;
    bottom: 25%;
    left: 50%;
    font-size: 34px;
}

/* Mobile and Other */
.fa-brands.fa-android {
    color: #3DDC84;
    bottom: 35%;
    left: 60%;
    font-size: 36px;
}

.fa-brands.fa-apple {
    color: #999999;
    bottom: 45%;
    left: 70%;
    font-size: 38px;
}

.fa-brands.fa-windows {
    color: #0078D6;
    bottom: 55%;
    left: 80%;
    font-size: 32px;
}

.fa-brands.fa-linux {
    color: #FCC624;
    bottom: 65%;
    left: 90%;
    font-size: 34px;
}

.fa-solid.fa-mobile-alt {
    color: #5C5C5C;
    bottom: 75%;
    left: 80%;
    font-size: 28px;
}

.fa-solid.fa-tablet-alt {
    color: #6C6C6C;
    bottom: 85%;
    left: 70%;
    font-size: 30px;
}

/* Top icons */
.tech-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    font-size: 35px;
    color: var(--icon-color-1);
}

.tech-icon:nth-child(2) {
    top: 20%;
    left: 20%;
    font-size: 28px;
    color: var(--icon-color-2);
}

.tech-icon:nth-child(3) {
    top: 15%;
    left: 45%;
    font-size: 42px;
    color: var(--icon-color-3);
}

.tech-icon:nth-child(4) {
    top: 8%;
    left: 65%;
    font-size: 32px;
    color: var(--icon-color-4);
}

.tech-icon:nth-child(5) {
    top: 20%;
    left: 85%;
    font-size: 38px;
    color: var(--icon-color-5);
}

/* Right icons */
.tech-icon:nth-child(6) {
    top: 35%;
    right: 5%;
    font-size: 40px;
    color: var(--icon-color-1);
}

.tech-icon:nth-child(7) {
    top: 50%;
    right: 12%;
    font-size: 30px;
    color: var(--icon-color-2);
}

.tech-icon:nth-child(8) {
    top: 65%;
    right: 8%;
    font-size: 35px;
    color: var(--icon-color-3);
}

/* Bottom icons */
.tech-icon:nth-child(9) {
    bottom: 10%;
    left: 15%;
    font-size: 30px;
    color: var(--icon-color-5);
}

.tech-icon:nth-child(10) {
    bottom: 20%;
    left: 30%;
    font-size: 42px;
    color: var(--icon-color-4);
}

.tech-icon:nth-child(11) {
    bottom: 15%;
    left: 50%;
    font-size: 36px;
    color: var(--icon-color-1);
}

.tech-icon:nth-child(12) {
    bottom: 12%;
    left: 75%;
    font-size: 32px;
    color: var(--icon-color-2);
}

/* Left icons */
.tech-icon:nth-child(13) {
    top: 35%;
    left: 5%;
    font-size: 36px;
    color: var(--icon-color-3);
}

.tech-icon:nth-child(14) {
    top: 50%;
    left: 10%;
    font-size: 32px;
    color: var(--icon-color-4);
}

.tech-icon:nth-child(15) {
    top: 70%;
    left: 6%;
    font-size: 38px;
    color: var(--icon-color-5);
}

/* Center icons (fainter) */
.tech-icon:nth-child(16) {
    top: 40%;
    left: 40%;
    font-size: 44px;
    color: var(--icon-color-1);
    opacity: 0.05;
}

.tech-icon:nth-child(17) {
    top: 60%;
    left: 60%;
    font-size: 38px;
    color: var(--icon-color-2);
    opacity: 0.05;
}

.tech-icon:nth-child(18) {
    top: 30%;
    left: 60%;
    font-size: 34px;
    color: var(--icon-color-3);
    opacity: 0.05;
}

/* Optimize animations - Add better performance hint */
@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -45%) rotate(3deg);
    }
    100% {
        transform: translate(-50%, -55%) rotate(-3deg);
    }
}

/* Main Content Area */
.coming-soon {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
}

/* Content box - Improve rendering performance */
.content-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    border: 1px solid rgba(61, 82, 160, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 
                0 0 20px rgba(61, 82, 160, 0.15);
    padding: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.8s ease-out;
    max-width: 100%;
    /* Add containment for better performance */
    contain: content;
}

/* Add backdrop-filter only for devices that support it (fixed syntax) */
@supports (backdrop-filter: blur(10px)) {
    .content-box {
        backdrop-filter: blur(10px);
    }
}

/* Optimize the highlight border animation - Reduced complexity */
.highlight-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 18px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--neutral-color), var(--primary-color));
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientBorder 12s ease infinite; /* Slower animation */
    opacity: 0.5; /* Reduced opacity */
    /* Add will-change for better performance */
    will-change: background-position;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo and Tagline */
.logo-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    /* transform: scale(1.05); */
}

/* Tagline style with animation */
.tagline {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 15px 0 30px;
    position: relative;
    text-align: center;
}

/* Removing the dots before and after */
.tagline::before,
.tagline::after {
    display: none; /* Hide the dots */
}

/* Optimize typewriter animation for desktop */
.tagline > span {
    display: inline-block;
    color: transparent;
    background: linear-gradient(120deg, #3D52A0, #7091E6, #3D52A0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    max-width: 520px;
    width: 0;
    padding-right: 0;
    font-weight: 700;
    animation: 
        typewriter 12s steps(35) 1s infinite,
        cursor-blink .75s step-end infinite,
        gradient 15s linear infinite; /* Slower gradient animation */
    /* Add will-change for animations */
    will-change: width, background-position;
}

@keyframes typewriter {
    0% { width: 0; }
    15% { width: 520px; }
    60% { width: 520px; }
    75% { width: 0; }
    100% { width: 0; }
}

@keyframes cursor-blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Separator */
.separator {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 25px auto 40px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.description {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px;
    color: var(--secondary-color);
    line-height: 1.8;
    font-weight: 400;
}

/* Countdown Timer - Professional Style */
.countdown-container {
    margin-bottom: 50px;
}

.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    min-width: 90px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 15px rgba(147, 112, 219, 0.15);
    border: 1px solid rgba(147, 112, 219, 0.1);
    font-family: var(--font-primary);
    transition: all 0.3s;
}

.countdown-text {
    font-size: 1rem;
    margin-top: 10px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Tech Features Section */
.tech-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.333% - 20px);
    min-width: 220px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(147, 112, 219, 0.15);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(147, 112, 219, 0.1);
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 3px rgba(61, 82, 160, 0.15));
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.feature p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.7;
}

/* Notify Form */
.notify-form {
    max-width: 550px;
    margin: 0 auto 50px;
    position: relative;
}

.notify-form h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.notify-form h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -8px;
    left: 25%;
    border-radius: 3px;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.form-group:hover {
    box-shadow: 0 10px 20px rgba(147, 112, 219, 0.15);
}

.form-control {
    flex: 1;
    padding: 20px 30px;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    border-radius: 50px 0 0 50px;
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-right: none;
}

.form-control::placeholder {
    color: rgba(85, 85, 85, 0.5);
}

.btn-notify {
    padding: 20px 40px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
}

.btn-notify::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-notify:hover::before {
    left: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 112, 219, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: var(--light-color);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Footer - Simple and Always at Bottom */
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(147, 112, 219, 0.2);
    width: 100%;
    color: var(--secondary-color);
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Form Message Styling */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 50px;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(147, 112, 219, 0.1);
    border: 1px solid rgba(147, 112, 219, 0.3);
    color: var(--primary-color);
}

.form-message.error {
    background-color: rgba(255, 76, 76, 0.1);
    border: 1px solid rgba(255, 76, 76, 0.3);
    color: #ff4c4c;
}

/* Decorative Elements - Indian-inspired */
.mandala {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="rgba(147, 112, 219, 0.15)" stroke-width="1"/><circle cx="50" cy="50" r="35" fill="none" stroke="rgba(147, 112, 219, 0.15)" stroke-width="1"/><circle cx="50" cy="50" r="25" fill="none" stroke="rgba(147, 112, 219, 0.15)" stroke-width="1"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.mandala-top-right {
    top: -40px;
    right: -40px;
}

.mandala-bottom-left {
    bottom: -40px;
    left: -40px;
}

/* Accessibility Improvements */
button, 
a {
    transition: all 0.3s ease;
}

button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .content-box {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .logo-img {
        max-width: 250px;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .tagline > span {
        max-width: 450px;
    }
    
    @keyframes typewriter {
        0% { width: 0; }
        15% { width: 450px; }
        60% { width: 450px; }
        75% { width: 0; }
        100% { width: 0; }
    }
    
    .feature {
        width: calc(50% - 15px);
    }
    
    .time-block {
        min-width: 90px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
        padding: 12px;
        min-width: 80px;
    }
}

@media (max-width: 767px) {
    .coming-soon {
        padding: 20px 0;
    }
    
    .content-box {
        padding: 30px 20px;
    }
    
    .logo-img {
        max-width: 250px;
    }
    
    .tagline {
        font-size: 1.2rem;
        overflow: hidden;
    }
    
    .tagline > span {
        max-width: 350px;
        white-space: normal;
        width: auto !important;
        border-right: none !important;
        animation: none !important;
        background: linear-gradient(120deg, #3D52A0, #7091E6, #3D52A0);
        -webkit-background-clip: text;
        background-clip: text;
        display: inline-block;
        animation: textReveal 1.5s ease forwards, textWave 5s ease-in-out infinite !important;
        background-size: 200% 100%;
        filter: drop-shadow(0 2px 4px rgba(61, 82, 160, 0.15));
        transform-origin: center;
        opacity: 0;
        will-change: transform, opacity, background-position;
    }
    
    @keyframes textReveal {
        0% {
            opacity: 0;
            transform: translateY(20px);
            background-position: 100% 0;
        }
        100% {
            opacity: 1;
            transform: translateY(0);
            background-position: 0 0;
        }
    }
    
    @keyframes textWave {
        0% {
            background-position: 0% 50%;
            transform: perspective(500px) rotateX(0deg);
        }
        50% {
            background-position: 100% 50%;
            transform: perspective(500px) rotateX(2deg); /* Reduced rotation */
        }
        100% {
            background-position: 0% 50%;
            transform: perspective(500px) rotateX(0deg);
        }
    }
    
    .countdown {
        gap: 15px;
    }
    
    .time-block {
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
        padding: 10px;
        min-width: 70px;
        /* Reduce shadow complexity for better performance */
        box-shadow: 0 5px 10px rgba(147, 112, 219, 0.1);
    }
    
    .countdown-text {
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    .feature {
        width: 100%;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 25px;
    }
    
    .form-control {
        border-radius: 25px 25px 0 0;
        text-align: center;
        border: 1px solid rgba(147, 112, 219, 0.2);
        border-bottom: none;
        padding: 15px 20px;
    }
    
    .btn-notify {
        border-radius: 0 0 25px 25px;
        padding: 15px;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    /* Hide some of the tech icons on mobile for better performance */
    .tech-icon:nth-child(n+10) {
        display: none;
    }
    
    /* Disable background animations for mobile */
    .tech-bg {
        position: fixed;
        background: radial-gradient(circle at center, #fff 0%, #EDE8F5 70%, #ADBBDA 100%);
        opacity: 0.5;
    }
    
    /* Remove box shadow from elements on mobile */
    .content-box {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        padding: 30px 15px;
    }
    
    /* Remove complex animations */
    .highlight-border {
        animation: none;
        opacity: 0.3;
        background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    }
    
    /* Remove separator animation */
    .separator::before {
        animation: none;
    }
    
    /* Simplify all feature cards */
    .feature {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    }
    
    .feature:hover {
        transform: none;
    }
}

@media (max-width: 479px) {
    .logo-img {
        max-width: 200px;
    }
    
    .tagline {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .tagline::before, .tagline::after {
        display: none;
    }
    
    .tagline > span {
        max-width: 280px;
        white-space: normal;
        width: auto !important;
        border-right: none !important;
        animation: textReveal 1.5s ease forwards, textWave 5s ease-in-out infinite !important;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .time-block {
        min-width: 65px;
    }
    
    .countdown-number {
        font-size: 1.6rem;
        padding: 10px;
        min-width: 65px;
    }
    
    .countdown-text {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Remove tagline border animation */
@keyframes taglineBorderAnimation {
    0% {
        width: 30px;
        opacity: 0.6;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.tagline::before {
    left: -20px;
}

.tagline::after {
    right: -20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 200px;
    }
}

/* Further optimize for very slow devices with Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .tech-icon, .highlight-border, .tagline > span, .separator::before {
        animation: none !important;
        transition: none !important;
    }
    
    .tagline > span {
        width: auto !important;
        color: var(--primary-color) !important;
        -webkit-text-fill-color: var(--primary-color) !important;
        background: none !important;
    }
} 